We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08d8593 commit 8607058Copy full SHA for 8607058
Makefile
@@ -4,22 +4,22 @@ endif
4
5
SUBDIRS := $(dir $(wildcard */Makefile))
6
7
-.PHONY: all clean $(SUBDIRS)
+.PHONY: all clean
8
9
-all: $(SUBDIRS) replay.rom
+all: replay.rom
10
@echo "** $@ done"
11
12
clean: $(addprefix clean-,$(SUBDIRS))
13
rm -rf replay.rom
14
15
16
-$(SUBDIRS):
17
- $(MAKE) -C $@
+build-%: %
+ $(MAKE) -C $<
18
19
clean-%: %
20
$(MAKE) -C $< clean
21
22
-replay.rom: build_rom.sh
+replay.rom: $(addprefix build-,$(SUBDIRS))
23
./build_rom.sh
24
25
include Makefile.build
0 commit comments