From aa88fdd8c6ad2da5eb5bd933e2d53d56cd8c176f Mon Sep 17 00:00:00 2001 From: nlanza Date: Sun, 13 Aug 2006 02:19:00 +0000 Subject: Clean up a mistake in the SVN import. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/makefile.dos | 53 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 crawl-ref/source/makefile.dos (limited to 'crawl-ref/source/makefile.dos') diff --git a/crawl-ref/source/makefile.dos b/crawl-ref/source/makefile.dos new file mode 100644 index 0000000000..869d6f8745 --- /dev/null +++ b/crawl-ref/source/makefile.dos @@ -0,0 +1,53 @@ +# Make file for Dungeon Crawl (dos) + +# this file contains a list of the libraries. +# it will make a variable called OBJECTS that contains all the libraries +include makefile.obj + +# need .exe so make will find the right file +APPNAME = crawl.exe +CXX = gxx +DELETE = del +COPY = copy +OS_TYPE = DOS +CFLAGS = -D$(OS_TYPE) $(EXTRA_FLAGS) +LDFLAGS = -Bc:/djgpp/contrib/pdcurs22/lib +INSTALLDIR = c:\games\crawl +# LIB = -lcurso -lpano + +all: $(APPNAME) + +install: $(APPNAME) + $(COPY) $(APPNAME) ${INSTALLDIR} + +clean: + $(DELETE) *.o + +distclean: + $(DELETE) *.o + $(DELETE) bones.* + $(DELETE) morgue.txt + $(DELETE) scores + $(DELETE) $(APPNAME) + $(DELETE) *.sav + $(DELETE) core + $(DELETE) *.0* + $(DELETE) *.lab + +$(APPNAME): $(OBJECTS) + ${CXX} ${LDFLAGS} $(INCLUDES) $(CFLAGS) $(OBJECTS) -o $(APPNAME) $(LIB) + strip $(APPNAME) + +debug: $(OBJECTS) + ${CXX} ${LDFLAGS} $(INCLUDES) $(CFLAGS) $(OBJECTS) -o $(APPNAME) $(LIB) + +profile: $(OBJECTS) + ${CXX} -g -p ${LDFLAGS} $(INCLUDES) $(CFLAGS) $(OBJECTS) -o $(APPNAME) $(LIB) + +.cc.o: + ${CXX} ${CFLAGS} -c $< ${INCLUDE} + +# I don't have touch for DOS, but if you do, you can put this back. +# +#.h.cc: +# touch $@ -- cgit v1.2.3-54-g00ecf