source:
orxonox.OLD/orxonox/trunk/scripts/Makefile.all
@
2447
Last change on this file since 2447 was 1865, checked in by bensch, 21 years ago | |
---|---|
File size: 411 bytes |
Rev | Line | |
---|---|---|
[1853] | 1 | |
[1864] | 2 | ORXONOX_DIRS = ./core \ |
3 | ./gui | |
[1853] | 4 | |
5 | all: orxonox | |
6 | ||
7 | orxonox: $(ORXONOX_DIRS) finish | |
8 | ||
9 | $(ORXONOX_DIRS): FORCE | |
10 | cd $@; $(MAKE) | |
11 | ||
12 | finish: | |
13 | @echo "" | |
[1865] | 14 | @echo "Moving the binaries." |
[1853] | 15 | @mv -vf ./core/orxonox ./bin |
[1865] | 16 | @mv -vf ./gui/orxonox_gui ./bin |
[1853] | 17 | @echo "" |
[1865] | 18 | |
[1853] | 19 | @echo "now cd to ./bin and run orxonox" |
20 | @echo "" | |
21 | ||
22 | clean: | |
23 | for i in $(ORXONOX_DIRS); do ( cd $$i ; $(MAKE) clean ) ; done | |
24 | -rm -f ./bin/* | |
25 | -rm -f *~ | |
26 | ||
27 | FORCE: |
Note: See TracBrowser
for help on using the repository browser.