unofficial version 0.7.1: ui improvements
[netris.git] / Configure
index 97479dbb54247710f890d26b793ad4220fcd4846..537142f2b52e1c46528b43686905cc60f99a117d 100755 (executable)
--- 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