From 6da722347222b2d11196fdbc0a7648d6f70a181e Mon Sep 17 00:00:00 2001 From: ilmich Date: Tue, 27 May 2025 16:33:36 +0200 Subject: [PATCH] prepare output directory also to build only the compiler --- make/makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make/makefile b/make/makefile index 21a3497..42ac65f 100644 --- a/make/makefile +++ b/make/makefile @@ -38,7 +38,7 @@ else endif -all: --prep-build-dir compiler samples check +all: compiler samples check $(srcdir)/%.o: $(project_dir)/oscar64/%.cpp @@ -56,7 +56,7 @@ $(srcdir)/%.d: $(project_dir)/oscar64/%.cpp $(RM) $@.$$$$ -compiler: $(objects) +compiler: --prep-build-dir $(objects) @$(MKDIR_PARENT) $(srcdir) @echo "Linking compiler..." $(CXX) $(CPPFLAGS) $(objects) $(linklibs) -o $(project_dir)/bin/oscar64