X-Git-Url: http://git.shiar.net/netris.git/blobdiff_plain/e3d58186949bfcdb149cc2a545ce6c14a8689268..refs/tags/v0.7.1:/Configure diff --git a/Configure b/Configure index 97479db..537142f 100755 --- a/Configure +++ b/Configure @@ -21,8 +21,8 @@ # CC="gcc" -COPT="-O -m486" -CEXTRA="" +COPT="-O" +CEXTRA="-m486" LEXTRA="" CURSES_HACK=false @@ -32,7 +32,7 @@ while [ $# -ge 1 ]; do case "$opt" in -g) COPT="-g -O0" -# CEXTRA="-Wall -Wstrict-prototypes" +# CEXTRA="-Wall -Wstrict-prototypes -m486" ;; -O*) COPT="$opt" @@ -138,8 +138,7 @@ fi rm -f test.c test.o a.out ORIG_SOURCES="game- curses- shapes- board- util- inet- robot-" -GEN_SOURCES="version-" -SOURCES="$ORIG_SOURCES $GEN_SOURCES" +SOURCES="$ORIG_SOURCES" SRCS="`echo $SOURCES | sed -e s/-/.c/g`" OBJS="`echo $SOURCES | sed -e s/-/.o/g`" @@ -192,10 +191,6 @@ Makefile config.h: Configure @echo "Run ./Configure now" @false -version.c: VERSION - @echo "Creating version.c" - @sed -e 's/^\(.*\)$$/char *version_string = "\1";/' VERSION > $@ - proto.h: $(SRCS) @touch $@ @mv $@ $@.old @@ -226,7 +221,7 @@ dist: $(DISTFILES) tar -cvzof $$dir.tar.gz $$dir clean: - rm -f proto.h proto.chg $(PROG) $(OBJS) version.c test.c a.out sr sr.o server server.o + rm -f proto.h proto.chg $(PROG) $(OBJS) test.c a.out sr sr.o server server.o cleandir: clean rm -f .depend Makefile config.h