Skip to content

Commit

Permalink
use variables in target
Browse files Browse the repository at this point in the history
  • Loading branch information
jgthomas committed Oct 27, 2019
1 parent 7d7704a commit 3d7e454
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@

SUBDIRS = core assembler run shell tests
TESTDIR = tests

all clean: $(SUBDIRS)

$(SUBDIRS):
$(MAKE) -C $@ $(MAKECMDGOALS)

test:
$(MAKE) -C tests test
$(MAKE) -C $(TESTDIR) $(MAKECMDGOALS)

.PHONY: all $(SUBDIRS)

0 comments on commit 3d7e454

Please sign in to comment.