Contents of /mcore-src/trunk/mcore-tools/src/modules/basic-kernel/Makefile
Parent Directory | Revision Log
Revision 2654 -
(show annotations)
(download)
Tue Nov 10 15:11:08 2015 UTC (8 years, 5 months ago) by niro
File size: 405 byte(s)
Tue Nov 10 15:11:08 2015 UTC (8 years, 5 months ago) by niro
File size: 405 byte(s)
-use helper script to add modules
1 | include ../../../Makefile.inc |
2 | |
3 | SCRIPTS = kernel.client.class mcore-kernel-module |
4 | |
5 | all: $(SCRIPTS) |
6 | |
7 | install: install-client |
8 | |
9 | install-client: all |
10 | $(INSTALL) -d $(DESTDIR)/$(MCORE_LIBDIR)/include |
11 | $(INSTALL) -m0644 *.client.class $(DESTDIR)/$(MCORE_LIBDIR)/include |
12 | $(INSTALL) -m0755 mcore-kernel-module $(DESTDIR)/$(MCORE_LIBDIR) |
13 | |
14 | clean: |
15 | rm -f $(SCRIPTS) |
16 | |
17 | .PHONY: install-client |
18 | .PHONY: all install clean |