# specify path to X11 on your system
# if undefined, use system defaults (works with Linux/gcc/libc5)
-# X11_PATH = /usr/X11
+X11_PATH = /usr/X11
# specify directory for read-only game data (like graphics, sounds, levels)
# default is '.', so you can play without installing game data somewhere
clean:
$(MAKE_CMD) clean
-
-
-#-----------------------------------------------------------------------------#
-# development only stuff #
-#-----------------------------------------------------------------------------#
-
-backup:
- ./Scripts/make_backup.sh src
-
-backup_lev:
- ./Scripts/make_backup.sh lev
-
-backup_gfx:
- ./Scripts/make_backup.sh gfx
-
-dist-unix:
- ./Scripts/make_dist.sh unix .
-
-dist-dos:
- ./Scripts/make_dist.sh dos .
-
-dist: dist-unix dist-dos
-
-depend:
- $(MAKE_CMD) depend
CONFIG = $(CONFIG_GAME_DIR) $(CONFIG_SCORE_ENTRIES) $(SOUNDS) $(JOYSTICK)
# OPTIONS = -DDEBUG -g -Wall -ansi -pedantic # only for debugging purposes
-OPTIONS = -DDEBUG -g -Wall # only for debugging purposes
+# OPTIONS = -DDEBUG -g -Wall # only for debugging purposes
# OPTIONS = -O3 -Wall -ansi -pedantic
# OPTIONS = -O3 -Wall
-# OPTIONS = -O3
+OPTIONS = -O3
# SYSTEM = -DSYSV -Ae # may be needed for HP-UX
clean:
$(RM) *.o
$(RM) $(PROGNAME)
-
-
-#-----------------------------------------------------------------------------#
-# development only stuff #
-#-----------------------------------------------------------------------------#
-
-depend:
- for i in $(SRCS); do $(CPP) $(CFLAGS) -M $$i; done > .depend
-
-ifeq (.depend,$(wildcard .depend))
-include .depend
-endif