File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 8
8
CXX =g++-4.7
9
9
export CXX
10
10
11
+ mk_out_dir :
12
+ mkdir -p $(OUTPUT_DIR )
13
+
11
14
release : OPTIMIZATION_LEVEL = -O2
12
15
release : MODE = Release$(shell getconf LONG_BIT)
13
16
release : OUTPUT_DIR = $(PWD ) /../Binaries/$(MODE )
14
- release : tests samples
17
+ release : mk_out_dir tests samples
15
18
16
19
debug : OPTIMIZATION_LEVEL = -O0 -ggdb
17
20
debug : MODE = Debug$(shell getconf LONG_BIT)
18
21
debug : OUTPUT_DIR = $(PWD ) /../Binaries/$(MODE )
19
- debug : tests samples
22
+ debug : mk_out_dir tests samples
20
23
21
24
clean : RMODE = Release$(shell getconf LONG_BIT)
22
25
clean : DMODE = Debug$(shell getconf LONG_BIT)
@@ -57,7 +60,7 @@ export CASABLANCA_TESTS_DIR
57
60
tests : src
58
61
samples : src
59
62
60
- .PHONY : test $(SUBDIRS ) all clean release debug
63
+ .PHONY : test $(SUBDIRS ) all clean release debug mk_out_dir
61
64
62
65
$(SUBDIRS ) :
63
66
$(MAKE ) -C $@
You can’t perform that action at this time.
0 commit comments