rename lua .c => .cpp
[Tsunagari.git] / Makefile
blobb57a28dd98f87d457980d60f1cf726b3385564f2
1 # Top level Makefile for Tsunagari
3 all: debug
5 debug:
6 $(MAKE) -C deps/lua all MYCFLAGS=-g
7 $(MAKE) -C src all MYCFLAGS=-g
9 release:
10 $(MAKE) -C deps/lua all MYCFLAGS=-O2
11 $(MAKE) -C src all MYCFLAGS=-O2
13 profile:
14 $(MAKE) -C deps/lua all MYCFLAGS=-pg
15 $(MAKE) -C src all MYCFLAGS=-pg MYLDFLAGS=-pg
17 # Need to specify manually because './doc/' is a directory.
18 .PHONY: doc
19 doc:
20 cd doc && doxygen
22 clean:
23 $(MAKE) -C deps/lua clean
24 $(MAKE) -C src clean
25 $(RM) -r doc/html