Fixed normal calculation at edges, more UI changes
[ted.git] / Makefile
bloba5980fd2b46f49ef2e87e82cdd8e168432f16339
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: all
17 ./$(EXECUTABLE)
19 run-debug: debug
20 gdb -x Debug ./$(EXECUTABLE)
22 debug: dircheck
23 cd $(BUILD) && cmake -DBUILD=Debug ..
24 cd $(BUILD) && make
26 clean:
27 rm -rf $(BUILD)
28 cd win32 && make clean
30 cross:
31 cd win32 && make