From 34078f92ba299e7d586825142bc759be2c2ddd98 Mon Sep 17 00:00:00 2001 From: silverweed Date: Wed, 21 Aug 2024 13:09:12 +0200 Subject: [PATCH] create build dir in makefile --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 0bfd5ac..cf7a8c0 100644 --- a/Makefile +++ b/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