From 3ba084480ae0743234b24d93617a12784b4f4035 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 7 Jun 2017 06:47:01 -0400 Subject: [PATCH] Change name of dungeon maker - dual use of "compile" was confusing. --- .gitignore | 2 +- Makefile | 10 +++++----- compile.c => dungeon.c | 0 3 files changed, 6 insertions(+), 6 deletions(-) rename compile.c => dungeon.c (100%) diff --git a/.gitignore b/.gitignore index 4a8fcd6..a2fd689 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ advent -compile +dungeon *.gcda *.gcno *.o diff --git a/Makefile b/Makefile index 24759f7..a29ae4d 100644 --- 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 -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 diff --git a/compile.c b/dungeon.c similarity index 100% rename from compile.c rename to dungeon.c -- 2.31.1