Rev | Line | |
---|
[34] | 1 | XEN_ROOT = ../.. |
---|
| 2 | include $(XEN_ROOT)/tools/Rules.mk |
---|
| 3 | |
---|
| 4 | SUBDIRS-y := |
---|
| 5 | SUBDIRS-y += lib |
---|
| 6 | SUBDIRS-y += drivers |
---|
| 7 | |
---|
| 8 | .PHONY: all |
---|
| 9 | all: build |
---|
| 10 | |
---|
| 11 | .PHONY: build |
---|
| 12 | build: |
---|
| 13 | @set -e; for subdir in $(SUBDIRS-y); do \ |
---|
| 14 | $(MAKE) -C $$subdir all; \ |
---|
| 15 | done |
---|
| 16 | |
---|
| 17 | .PHONY: install |
---|
| 18 | install: |
---|
| 19 | @set -e; for subdir in $(SUBDIRS-y); do \ |
---|
| 20 | $(MAKE) -C $$subdir install; \ |
---|
| 21 | done |
---|
| 22 | |
---|
| 23 | .PHONY: clean |
---|
| 24 | clean: |
---|
| 25 | rm -rf *.a *.so *.o *.rpm $(LIB) *~ $(DEPS) TAGS |
---|
| 26 | @set -e; for subdir in $(SUBDIRS-y); do \ |
---|
| 27 | $(MAKE) -C $$subdir clean; \ |
---|
| 28 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.