2010-08-22 12:28:40 +03:00
|
|
|
#
|
|
|
|
# Makefile.recurse - Recursively build a few standard targets
|
|
|
|
#
|
2010-08-24 12:16:48 +03:00
|
|
|
# Written 2008-2010 by Werner Almesberger
|
|
|
|
# Copyright 2008-2010 Werner Almesberger
|
2010-08-22 12:28:40 +03:00
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY: all install uninstall clean spotless
|
|
|
|
|
|
|
|
all:
|
2010-08-24 12:16:48 +03:00
|
|
|
for d in $(TARGET_ONLY_DIRS) $(DIRS); \
|
2010-08-22 12:28:40 +03:00
|
|
|
do make -C $$d all || exit 1; done
|
|
|
|
|
|
|
|
install:
|
|
|
|
for d in $(DIRS); do make -C $$d install || exit 1; done
|
|
|
|
|
|
|
|
uninstall:
|
|
|
|
for d in $(DIRS); do make -C $$d uninstall || exit 1; done
|
|
|
|
|
|
|
|
clean:
|
|
|
|
for d in $(DIRS) $(TARGET_ONLY_DIRS); do \
|
|
|
|
make -C $$d clean || exit 1; done
|
|
|
|
|
|
|
|
spotless:
|
|
|
|
for d in $(DIRS) $(TARGET_ONLY_DIRS); do \
|
|
|
|
make -C $$d spotless || exit 1; done
|