Date:2011-03-22 15:05:05 (8 years 4 months ago)
Author:Werner Almesberger
Commit:7cf2b0d352764038a57ec977edbf221e883bf2ba
Message:Makefile.recurse: moved into makefiles/

- Makefile.recurse: moved into makefiles/
- tools/Makefile, cntr/tools/Makefile: updated path to Makefile.recurse
Files: Makefile.recurse (1 diff)
cntr/tools/Makefile (2 diffs)
makefiles/Makefile.recurse (1 diff)
tools/Makefile (1 diff)

Change Details

Makefile.recurse
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
cntr/tools/Makefile
11#
22# tools/Makefile - Build the CNTR control tool
33#
4# Written 2010 by Werner Almesberger
5# Copyright 2010 Werner Almesberger
4# Written 2010-2011 by Werner Almesberger
5# Copyright 2010-2011 Werner Almesberger
66#
77# This program is free software; you can redistribute it and/or modify
88# it under the terms of the GNU General Public License as published by
...... 
1313
1414DIRS=cntr
1515
16include ../../Makefile.recurse
16include ../../makefiles/Makefile.recurse
makefiles/Makefile.recurse
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
tools/Makefile
2121endif
2222
2323
24include ../Makefile.recurse
24include ../makefiles/Makefile.recurse
2525
2626.PHONY: upload
2727

Archive Download the corresponding diff file



interactive