git.shiar.nl
/
netris.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unofficial version 0.7: multiplayer improvements
[netris.git]
/
Configure
diff --git
a/Configure
b/Configure
index 97479dbb54247710f890d26b793ad4220fcd4846..a17707ebd95e8f344d1e65a48bfcd1a9605620e6 100755
(executable)
--- a/
Configure
+++ b/
Configure
@@
-138,8
+138,7
@@
fi
rm -f test.c test.o a.out
ORIG_SOURCES="game- curses- shapes- board- util- inet- robot-"
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`"
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
@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
proto.h: $(SRCS)
@touch $@
@mv $@ $@.old
@@
-226,7
+221,7
@@
dist: $(DISTFILES)
tar -cvzof $$dir.tar.gz $$dir
clean:
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
cleandir: clean
rm -f .depend Makefile config.h