Revision c42956f9 modules/Makefile

View differences:

modules/Makefile
39 39

  
40 40
.PHONY: all $(MODULES) $(FLASHTRGS) clean $(CLEANTRGS)
41 41

  
42
all: $(MODULES)
42
all:
43
	$(MAKE) -j$(words $(MODULES)) $(MODULES)
44

  
43 45
$(MODULES):
44 46
	$(MAKE) -C $(MODULES_DIR)$@
45 47

  
46 48
$(FLASHTRGS):
47 49
	$(MAKE) -C $(MODULES_DIR)$(@:flash_%=%) flash
48 50

  
49
clean: $(CLEANTRGS)
51
clean:
52
	$(MAKE) -j$(words $(MODULES)) $(CLEANTRGS)
53

  
50 54
$(CLEANTRGS):
51 55
	$(MAKE) -C $(MODULES_DIR)$(@:clean_%=%) clean

Also available in: Unified diff