mirror of
https://github.com/ShaYmez/MMDVM_CM.git
synced 2024-12-22 01:00:56 -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)
|