From 95992df67d64a7589090a30a4df4320bbb376ff9 Mon Sep 17 00:00:00 2001 From: John Schneiderman Date: Wed, 7 Aug 2024 20:14:56 +0200 Subject: [PATCH] Adds the samples building to the all target. --- make/makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/make/makefile b/make/makefile index 4853f51..9df830e 100644 --- a/make/makefile +++ b/make/makefile @@ -26,7 +26,7 @@ else endif -all: --prep-build-dir compiler +all: --prep-build-dir compiler samples %.o: $(project_dir)/oscar64/%.cpp @@ -53,12 +53,18 @@ clean : @$(RM) $(srcdir)/*.o @$(RM) $(srcdir)/*.d @$(RM) $(project_dir)/bin/oscar64 + $(MAKE) -C $(project_dir)/samples clean .PHONY : distclean distclean : @$(REMOVE_FORCE_ALL) $(srcdir) @$(REMOVE_FORCE_ALL) $(project_dir)/bin + $(MAKE) -C $(project_dir)/samples clean + + +samples: compiler + $(MAKE) -C $(project_dir)/samples all ifeq ($(UNAME_S), Darwin)