Root/Makefile.recurse

Source at commit 9c2deb8e0adf32d9b0bfb1426e9e6415a88250c6 created 13 years 7 months ago.
By Werner Almesberger, cntr/cntr.brd: remove the ground fill. The board got a bit messy with it. Bumped the version to V1.
1#
2# Makefile.recurse - Recursively build a few standard targets
3#
4# Written 2008, 2009 by Werner Almesberger
5# Copyright 2008, 2009 Werner Almesberger
6#
7# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 2 of the License, or
10# (at your option) any later version.
11#
12
13
14.PHONY: all install uninstall clean spotless
15
16all:
17        for d in $(DIRS) $(TARGET_ONLY_DIRS); \
18          do make -C $$d all || exit 1; done
19
20install:
21        for d in $(DIRS); do make -C $$d install || exit 1; done
22
23uninstall:
24        for d in $(DIRS); do make -C $$d uninstall || exit 1; done
25
26clean:
27        for d in $(DIRS) $(TARGET_ONLY_DIRS); do \
28          make -C $$d clean || exit 1; done
29
30spotless:
31        for d in $(DIRS) $(TARGET_ONLY_DIRS); do \
32          make -C $$d spotless || exit 1; done
33

Archive Download this file



interactive