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`"
@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
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