diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-09-18 15:08:25 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-09-18 15:08:25 +0000 |
commit | a4d4f3ecccb29c3f5fc1ce55579119106c399911 (patch) | |
tree | 5677ea04b4dfdadd961c01ba3baf7502f8d6e0d0 /stone_soup/crawl-ref/source/makefile.osx | |
parent | 571501e1135989d3b9dc44e3d332562a7cf78b35 (diff) | |
download | crawl-ref-a4d4f3ecccb29c3f5fc1ce55579119106c399911.tar.gz crawl-ref-a4d4f3ecccb29c3f5fc1ce55579119106c399911.zip |
Updated stone_soup-0.1b1 tag to include fix for Poison Arrow of Doom.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/tags/stone_soup-0.1b1@49 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'stone_soup/crawl-ref/source/makefile.osx')
-rw-r--r-- | stone_soup/crawl-ref/source/makefile.osx | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/stone_soup/crawl-ref/source/makefile.osx b/stone_soup/crawl-ref/source/makefile.osx new file mode 100644 index 0000000000..7cee7c3452 --- /dev/null +++ b/stone_soup/crawl-ref/source/makefile.osx @@ -0,0 +1,61 @@ +# -*- Makefile -*- for Dungeon Crawl + +# +# Modified for Crawl Reference by $Author$ on $Date$ +# + +GAME = crawl + +# this file contains a list of the libraries. +# it will make a variable called OBJECTS that contains all the libraries +include makefile.obj + +OBJECTS += libunix.o + +CXX = g++ +DELETE = rm -f +COPY = cp +OS_TYPE = OSX + +CFLAGS = -Wall -Werror -D$(OS_TYPE) $(EXTRA_FLAGS) + +MCHMOD = 711 +INSTALLDIR = /tmp/CRAWLTEST/testdev +LIB = -lncurses -lstdc++ + +all: $(GAME) + +install: $(GAME) + $(COPY) $(GAME) ${INSTALLDIR} + ${MCHMOD} ${INSTALLDIR}/$(GAME) + +clean: + $(DELETE) *.o + +distclean: + $(DELETE) *.o + $(DELETE) bones.* + $(DELETE) morgue.txt + $(DELETE) scores + $(DELETE) $(GAME) + $(DELETE) *.sav + $(DELETE) core + $(DELETE) *.0* + $(DELETE) *.lab + + +$(GAME): $(OBJECTS) + ${CXX} ${LDFLAGS} $(INCLUDES) $(CFLAGS) $(OBJECTS) -o $(GAME) $(LIB) + +debug: $(OBJECTS) + ${CXX} ${LDFLAGS} $(INCLUDES) $(CFLAGS) $(OBJECTS) -o $(GAME) $(LIB) + +profile: $(OBJECTS) + ${CXX} -g -p ${LDFLAGS} $(INCLUDES) $(CFLAGS) $(OBJECTS) -o $(GAME) $(LIB) + +.cc.o: + ${CXX} ${CFLAGS} $(INCLUDES) -c $< ${INCLUDE} + +.h.cc: + touch $@ + |