mirror of
https://github.com/ShaYmez/P25Clients.git
synced 2024-11-22 12:24:17 -05:00
21 lines
357 B
Makefile
21 lines
357 B
Makefile
|
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)
|