projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Continuing cleanup of misc.c.
[open-adventure.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 24759f71607de153be7f19ecb394f71349b759de..a29ae4d77e5ea058b104ea1be08791a99764b3db 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-11,7
+11,7
@@
ifeq ($(UNAME_S),Linux)
endif
OBJS=main.o init.o actions1.o actions2.o score.o misc.o
endif
OBJS=main.o init.o actions1.o actions2.o score.o misc.o
-SOURCES=$(OBJS:.o=.c)
compile
.c advent.h funcs.h sizes.h adventure.text Makefile control
+SOURCES=$(OBJS:.o=.c)
dungeon
.c advent.h funcs.h sizes.h adventure.text Makefile control
.c.o:
$(CC) $(CCFLAGS) $(DBX) -c $<
.c.o:
$(CC) $(CCFLAGS) $(DBX) -c $<
@@
-33,15
+33,15
@@
misc.o: advent.h database.h sizes.h
database.o: database.h sizes.h
database.o: database.h sizes.h
-
compile: compile
.c
+
dungeon: dungeon
.c
$(CC) $(CCFLAGS) -o $@ $<
$(CC) $(CCFLAGS) -o $@ $<
-database.c database.h:
compile
adventure.text
- ./
compile
+database.c database.h:
dungeon
adventure.text
+ ./
dungeon
$(CC) $(CCFLAGS) $(DBX) -c database.c
clean:
$(CC) $(CCFLAGS) $(DBX) -c database.c
clean:
- rm -f *.o advent *.html database.[ch]
compile
*.gcno *.gcda
+ rm -f *.o advent *.html database.[ch]
dungeon
*.gcno *.gcda
rm -f README advent.6 MANIFEST *.tar.gz
cd tests; $(MAKE) --quiet clean
rm -f README advent.6 MANIFEST *.tar.gz
cd tests; $(MAKE) --quiet clean