Add top level Makefile.
This commit is contained in:
parent
3c708b5b75
commit
e36b605075
|
@ -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)
|
Loading…
Reference in New Issue