Fixed some transforms, move to 3d and quaternion math in progress...
[ne.git] / Makefile
blob31a6c34988d6198c751cad0ef7fa104fe195318f
1 BUILD=build
2 EXECUTABLE=$(BUILD)/main
4 all: dircheck
5 $(DIRCHECK)
6 cd $(BUILD) && cmake -DBUILD=Release ..
7 cd $(BUILD) && make
9 dircheck:
10 `if [ ! -d $(BUILD) ]; then mkdir $(BUILD); fi`
12 verbose: dircheck
13 cd $(BUILD) && cmake -DCMAKE_VERBOSE_MAKEFILE=1 ..
14 cd $(BUILD) && make
16 run: debug
17 ./$(EXECUTABLE)
19 debug: dircheck
20 cd $(BUILD) && cmake -DBUILD=Debug ..
21 cd $(BUILD) && make
23 clean:
24 rm -rf $(BUILD)
25 cd win32 && make clean
27 cross:
28 cd win32 && make