1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-23 00:28:26 +02:00
ben-wpan/makefiles/Makefile.recurse
Werner Almesberger 7cf2b0d352 Makefile.recurse: moved into makefiles/
- Makefile.recurse: moved into makefiles/
- tools/Makefile, cntr/tools/Makefile: updated path to Makefile.recurse
2011-03-22 12:37:16 -03:00

33 lines
866 B
Makefile

#
# Makefile.recurse - Recursively build a few standard targets
#
# Written 2008-2010 by Werner Almesberger
# Copyright 2008-2010 Werner Almesberger
#
# 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:
for d in $(TARGET_ONLY_DIRS) $(DIRS); \
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