Skip to content

Commit

Permalink
Add Makefile.all
Browse files Browse the repository at this point in the history
  • Loading branch information
hrmorley34 committed Jul 16, 2023
1 parent b502f1e commit d8770a0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export OUTPUT := $(CURDIR)/$(TARGET)

#---------------------------------------------------------------------------------
all: $(BUILD)
@make --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile
@$(MAKE) --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile

$(BUILD):
@mkdir $@
Expand Down
17 changes: 17 additions & 0 deletions Makefile.all
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.PHONY: all g3a tests clean

# OPTS := -j 4

all: g3a tests

g3a:
@echo "make g3a"
@$(MAKE) --no-print-directory -f Makefile $(OPTS)

tests:
@echo "make tests"
@cd tests && $(MAKE) --no-print-directory test -f Makefile $(OPTS)

clean:
@$(MAKE) --no-print-directory clean -f Makefile $(OPTS)
@cd tests && $(MAKE) --no-print-directory clean -f Makefile $(OPTS)

0 comments on commit d8770a0

Please sign in to comment.