Add top level Makefile.

This commit is contained in:
Jonathan Naylor 2020-07-06 10:07:00 +01:00
parent 76bfc9c592
commit 85faf17315
1 changed files with 20 additions and 0 deletions

20
Makefile Normal file
View File

@ -0,0 +1,20 @@
SUBDIRS = NXDNGateway NXDNParrot NXDNReflector
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)