create build dir in makefile
This commit is contained in:
parent
c170ff8ad2
commit
34078f92ba
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -36,9 +36,11 @@ build/imgui.o: src/imgui_inc.cpp
|
|||
$(CXX) -O3 -fPIC -c $(IMGUI_FLAGS) $< -o $@
|
||||
|
||||
$(ROOT_IFACE): src/root/RMicroFileReader.cxx
|
||||
@mkdir -p $(@D)/build
|
||||
$(CXX) -O3 -fPIC -c $(ROOTFLAGS) $< -o $@
|
||||
|
||||
$(ROOT_IFACE_DBG): src/root/RMicroFileReader.cxx
|
||||
@mkdir -p $(@D)/build
|
||||
$(CXX) -O0 -DDEBUG -g -fPIC -c $(ROOTFLAGS) $< -o $@
|
||||
|
||||
# debug build
|
||||
|
|
Loading…
Reference in a new issue