Contents of /alx-src/tags/alx-web-0_7_0_20171218_1/scripts/Makefile
Parent Directory | Revision Log
Revision 8535 -
(show annotations)
(download)
Mon Feb 8 12:21:03 2016 UTC (8 years, 3 months ago) by niro
Original Path: alx-src/branches/alx-web-070/scripts/Makefile
File size: 409 byte(s)
Mon Feb 8 12:21:03 2016 UTC (8 years, 3 months ago) by niro
Original Path: alx-src/branches/alx-web-070/scripts/Makefile
File size: 409 byte(s)
-added initial Makefile build system
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 |