Root/Makefile.recurse

Source at commit 57874cf5e2810158886e2f4e9d90e75d559dfa97 created 9 years 1 month ago.
By Werner Almesberger, Revert TVS size reduction. We're not ready for it yet.
1#
2# Makefile.recurse - Recursively build a few standard targets
3#
4# Written 2008-2010 by Werner Almesberger
5# Copyright 2008-2010 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 $(TARGET_ONLY_DIRS) $(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