mirror of
https://github.com/ShaYmez/NXDNClients.git
synced 2024-11-15 20:41:46 -05:00
21 lines
360 B
Makefile
21 lines
360 B
Makefile
|
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)
|