From a16126b0981ba82ddcd5f7b0f763bc4ce6aa9bdc Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Wed, 27 Oct 1999 10:58:04 +0200 Subject: [PATCH] rocksndiamonds-1.4.0 --- Makefile | 27 +-------------------------- src/Makefile | 16 ++-------------- 2 files changed, 3 insertions(+), 40 deletions(-) diff --git a/Makefile b/Makefile index d1bc33a8..d8c400de 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ CC = gcc # 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 @@ -60,28 +60,3 @@ solaris: 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 diff --git a/src/Makefile b/src/Makefile index f9c1e232..2be4220a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -58,10 +58,10 @@ CONFIG_GAME_DIR = $(CONFIG_RO_GAME_DIR) $(CONFIG_RW_GAME_DIR) 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 @@ -120,15 +120,3 @@ $(PROGNAME): $(OBJS) 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 -- 2.34.1