Skip to content

Commit b993d88

Browse files
committed
second half of cc65#2420 - don't use the loop macro. Fixes -j13 for me
1 parent 25967e6 commit b993d88

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

test/asm/Makefile

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,25 @@ endif
1212

1313
WORKDIR = ../testwrk/asm
1414

15-
SUBDIRS = cpudetect opcodes listing val err misc
16-
1715
.PHONY: all continue mostlyclean clean
1816

1917
all: mostlyclean continue
2018

21-
define CALL_template
22-
23-
continue::
24-
@$(MAKE) -C $1 all
25-
26-
mostlyclean::
27-
@$(MAKE) -C $1 clean
28-
29-
endef
30-
31-
$(foreach subdir,$(SUBDIRS),$(eval $(call CALL_template,$(subdir))))
19+
continue: mostlyclean
20+
@$(MAKE) -C cpudetect all
21+
@$(MAKE) -C opcodes all
22+
@$(MAKE) -C listing all
23+
@$(MAKE) -C val all
24+
@$(MAKE) -C err all
25+
@$(MAKE) -C misc all
26+
27+
mostlyclean:
28+
@$(MAKE) -C cpudetect clean
29+
@$(MAKE) -C opcodes clean
30+
@$(MAKE) -C listing clean
31+
@$(MAKE) -C val clean
32+
@$(MAKE) -C err clean
33+
@$(MAKE) -C misc clean
3234

3335
clean: mostlyclean
3436
@$(call RMDIR,$(WORKDIR))

0 commit comments

Comments
 (0)