Update Makefile

This commit is contained in:
Marco Kubon 2020-07-03 10:34:54 +02:00 committed by GitHub
parent a2a9fa278d
commit 4647351590
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,6 @@
SUBDIRS = DMR2NXDN DMR2YSF NXDN2DMR YSF2DMR YSF2NXDN YSF2P25
CLEANDIRS = $(SUBDIRS:%=clean-%)
INSTALLDIRS = $(SUBDIRS:%=install-%)
all: $(SUBDIRS)
@ -11,4 +12,9 @@ clean: $(CLEANDIRS)
$(CLEANDIRS):
$(MAKE) -C $(@:clean-%=%) clean
.PHONY: $(SUBDIRS) $(CLEANDIRS)
install: $(INSTALLDIRS)
$(INSTALLDIRS):
$(MAKE) -C $(@:install-%=%) install
.PHONY: $(SUBDIRS) $(CLEANDIRS) $(INSTALLDIRS)