Change name of dungeon maker - dual use of "compile" was confusing.
This commit is contained in:
parent
0b02763bf0
commit
3ba084480a
3 changed files with 6 additions and 6 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,5 +1,5 @@
|
|||
advent
|
||||
compile
|
||||
dungeon
|
||||
*.gcda
|
||||
*.gcno
|
||||
*.o
|
||||
|
|
10
Makefile
10
Makefile
|
@ -11,7 +11,7 @@ ifeq ($(UNAME_S),Linux)
|
|||
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 $<
|
||||
|
@ -33,15 +33,15 @@ misc.o: advent.h database.h sizes.h
|
|||
|
||||
database.o: database.h sizes.h
|
||||
|
||||
compile: compile.c
|
||||
dungeon: dungeon.c
|
||||
$(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:
|
||||
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue