Magellan Linux

Contents of /alx-src/tags/alx-web-0_7_0_20170406_1/scripts/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9467 - (show annotations) (download)
Thu Apr 6 13:00:20 2017 UTC (7 years, 1 month ago) by niro
File size: 409 byte(s)
tagged 'alx-web-0_7_0_20170406_1'
1 include ../Makefile.inc
2
3 SUBDIRS = cert sql-schema
4
5 INSTALLDIRS = $(SUBDIRS:%=install-%)
6 CLEANDIRS = $(SUBDIRS:%=clean-%)
7
8 all: $(SUBDIRS)
9
10 install: $(INSTALLDIRS) all
11
12 clean: $(CLEANDIRS)
13
14 $(SUBDIRS):
15 $(MAKE) -C $@
16
17 $(INSTALLDIRS):
18 $(MAKE) -C $(@:install-%=%) install
19
20 $(CLEANDIRS):
21 $(MAKE) -C $(@:clean-%=%) clean
22
23 .PHONY: $(SUBDIRS)
24 .PHONY: $(INSTALLDIRS)
25 .PHONY: $(CLEANDIRS)
26 .PHONY: all install clean