mirror of
https://github.com/ShaYmez/MMDVM_CM.git
synced 2024-11-13 19:51:46 -05:00
21 lines
374 B
Makefile
21 lines
374 B
Makefile
SUBDIRS = DMR2NXDN DMR2YSF NXDN2DMR YSF2DMR YSF2NXDN YSF2P25
|
|
CLEANDIRS = $(SUBDIRS:%=clean-%)
|
|
INSTALLDIRS = $(SUBDIRS:%=install-%)
|
|
|
|
all: $(SUBDIRS)
|
|
|
|
$(SUBDIRS):
|
|
$(MAKE) -C $@
|
|
|
|
clean: $(CLEANDIRS)
|
|
|
|
$(CLEANDIRS):
|
|
$(MAKE) -C $(@:clean-%=%) clean
|
|
|
|
install: $(INSTALLDIRS)
|
|
|
|
$(INSTALLDIRS):
|
|
$(MAKE) -C $(@:install-%=%) install
|
|
|
|
.PHONY: $(SUBDIRS) $(CLEANDIRS) $(INSTALLDIRS)
|