Add common Makefile

This commit is contained in:
Andy CA6JAU 2018-05-28 11:24:54 -04:00
parent a964b7a997
commit e7eb848c67

14
Makefile Normal file
View File

@ -0,0 +1,14 @@
SUBDIRS = DMR2NXDN DMR2YSF NXDN2DMR YSF2DMR YSF2NXDN YSF2P25
CLEANDIRS = $(SUBDIRS:%=clean-%)
all: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@
clean: $(CLEANDIRS)
$(CLEANDIRS):
$(MAKE) -C $(@:clean-%=%) clean
.PHONY: $(SUBDIRS) $(CLEANDIRS)