prepare output directory also to build only the compiler

This commit is contained in:
ilmich 2025-05-27 16:33:36 +02:00
parent 197e2a91be
commit 6da7223472

View File

@ -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