Commit 97a7119f authored by Paul Boven's avatar Paul Boven
Browse files

A 'simpler' top-level Makefile

parent b75694f6
......@@ -5,14 +5,18 @@
# http://www.camras.nl/
# http://gitlab.camras.nl/paulb/DT-Backend-S3A1800dsp
all: S3ADC_v03/pulsar.bit S3ADC-4k/HI.bit
SUBDIRS = S3ADC_v03 S3ADC-4k
S3ADC_v03/pulsar.bit:
cd S3ADC_v03; make pulsar.bit
SUBCLEAN = $(addsuffix .clean,$(SUBDIRS))
.PHONY: all clean $(SUBDIRS) $(SUBCLEAN)
S3ADC-4k/HI.bit:
cd S3ADC-4k; make HI.bit
all: $(SUBDIRS)
clean: $(SUBCLEAN)
$(SUBDIRS):
$(MAKE) -C $@
$(SUBCLEAN): %.clean:
$(MAKE) -C $* clean
clean:
cd S3ADC_v03; make clean;
cd S3ADC-4k; make clean;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment