Add top level Makefile.

This commit is contained in:
Jonathan Naylor 2020-07-06 10:09:12 +01:00
parent 3c708b5b75
commit e36b605075

20
Makefile Normal file
View File

@ -0,0 +1,20 @@
SUBDIRS = P25Gateway P25Parrot P25Reflector
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)