diff options
author | peterb12 <peterb12@c06c8d41-db1a-0410-9941-cceddc491573> | 2005-07-21 02:34:44 +0000 |
---|---|---|
committer | peterb12 <peterb12@c06c8d41-db1a-0410-9941-cceddc491573> | 2005-07-21 02:34:44 +0000 |
commit | 673bdae75485d14f759af597c3c62b99601f9a43 (patch) | |
tree | 368103f29fe0ce5dcf98060d9b5faa04590085fb /trunk/source/makefile | |
parent | 7e900be770db24b0405fd2162491c405a425873e (diff) | |
download | crawl-ref-673bdae75485d14f759af597c3c62b99601f9a43.tar.gz crawl-ref-673bdae75485d14f759af597c3c62b99601f9a43.zip |
Initial revision
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'trunk/source/makefile')
-rw-r--r-- | trunk/source/makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/trunk/source/makefile b/trunk/source/makefile new file mode 100644 index 0000000000..9e99a03c37 --- /dev/null +++ b/trunk/source/makefile @@ -0,0 +1,38 @@ +#Makefile chooser. Choose one: + +MAKEFILE = makefile.lnx +#MAKEFILE = makefile.sgi +#MAKEFILE = makefile.dos +#MAKEFILE = makefile.emx +#MAKEFILE = makefile.sol + +#jmf: number of concurrent jobs -- good value is (#_of_CPUs * 2) + 1 +# cuts build time a lot on multi-cpu machines +OTHER=-j2 + +all: + $(MAKE) $(OTHER) -f $(MAKEFILE) EXTRA_FLAGS='-O2 -fno-strength-reduce' + +noopt: + $(MAKE) $(OTHER) -f $(MAKEFILE) + +install: + $(MAKE) $(OTHER) -f $(MAKEFILE) install + +clean: + $(MAKE) $(OTHER) -f $(MAKEFILE) clean + +distclean: + $(MAKE) $(OTHER) -f $(MAKEFILE) distclean + +# WIZARD mode currently includes asserts, bounds checking, and item checking +wizard: + $(MAKE) $(OTHER) -f $(MAKEFILE) debug EXTRA_FLAGS='-g -DWIZARD -DDEBUG -DDEBUG_ITEM_SCAN' + +# DEBUG mode includes WIZARD mode as well as copious debugging input +debug: + $(MAKE) $(OTHER) -f $(MAKEFILE) debug EXTRA_FLAGS='-g -DFULLDEBUG -DWIZARD' + +# DO NOT DELETE THIS LINE -- $(MAKE) depend depends on it. + + |