mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-08-29 09:30:38 +02:00
17 lines
243 B
Makefile
17 lines
243 B
Makefile
SUBDIRS := $(wildcard */.)
|
|
SUBDIRSCLEAN=$(addsuffix clean,$(SUBDIRS))
|
|
|
|
MAKEFLAGS += -j 2
|
|
|
|
all: $(SUBDIRS)
|
|
|
|
$(SUBDIRS):
|
|
$(MAKE) -C $@
|
|
|
|
clean:
|
|
for dir in $(SUBDIRS); do \
|
|
$(MAKE) -C $$dir $@; \
|
|
done
|
|
|
|
.PHONY: all $(SUBDIRS) $(SUBDIRSCLEAN)
|