blob: 6cb9496aea29475e4135ce13b113e1ce2ac6f3ff (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
|
--- work/OpenSceneGraph-0.8/Makefile Thu Jan 25 15:16:28 2001
+++ Makefile Thu Apr 26 20:46:54 2001
@@ -6,10 +6,10 @@
all : $(MAKE_PREP)
- for f in $(DIRS) ; do cd $$f; make; cd ..; done
+ for f in $(DIRS) ; do cd $$f; $(MAKE) || exit 1; cd ..; done
docs :
- cd src; make docs;
+ cd src; $(MAKE) docs;
Make/makedefs :
@@ -34,65 +34,71 @@
cd Make;\
ln -sf makedefs.linux makedefs;\
ln -sf makerules.linux makerules
- make
+ $(MAKE)
+
+freebsd:
+ cd Make;\
+ ln -sf makedefs.freebsd makedefs;\
+ ln -sf makerules.freebsd makerules
+ $(MAKE)
irix:
cd Make;\
ln -sf makedefs.irix.nonstd makedefs ;\
ln -sf makerules.irix makerules
- make
+ $(MAKE)
irix.std:
cd Make;\
ln -sf makedefs.irix.std makedefs ;\
ln -sf makerules.irix makerules
- make
+ $(MAKE)
help :
@echo Usage :
- @echo \ make
- @echo \ make linux
- @echo \ make irix.std
- @echo \ make irix.nonstd
- @echo \ make depend
- @echo \ make clean
- @echo \ make clobber
- @echo \ make doc
- @echo \ make snapshot
- @echo \ make install
- @echo \ make instlinks
- @echo \ make instclean
+ @echo \ $(MAKE)
+ @echo \ $(MAKE) linux
+ @echo \ $(MAKE) irix.std
+ @echo \ $(MAKE) irix.nonstd
+ @echo \ $(MAKE) depend
+ @echo \ $(MAKE) clean
+ @echo \ $(MAKE) clobber
+ @echo \ $(MAKE) doc
+ @echo \ $(MAKE) snapshot
+ @echo \ $(MAKE) install
+ @echo \ $(MAKE) instlinks
+ @echo \ $(MAKE) instclean
clean : $(MAKE_PREP)
- for f in $(DIRS) ; do cd $$f; make clean; cd ..; done
+ for f in $(DIRS) ; do cd $$f; $(MAKE) clean; cd ..; done
find lib -type f -exec rm {} \;
rm -f bin/*
clobber : $(MAKE_PREP) clean
- for f in $(DIRS) ; do cd $$f; make clobber; cd ..; done
+ for f in $(DIRS) ; do cd $$f; $(MAKE) clobber; cd ..; done
rm -f $(MAKE_PREP)
depend : $(MAKE_PREP)
- for f in $(DIRS) ; do cd $$f; make depend; cd ..; done
+ for f in $(DIRS) ; do cd $$f; $(MAKE) depend; cd ..; done
to_unix :
for f in $(DIRS) ; do cd $$f; to_unix Makefile Makefile; cd ..; done
- for f in $(DIRS) ; do cd $$f; make to_unix; cd ..; done
+ for f in $(DIRS) ; do cd $$f; $(MAKE) to_unix; cd ..; done
cd include/OSG; for f in *.h ; do to_unix $$f $$f; done
snapshot:
- make docs;
- make clobber;
+ $(MAKE) docs;
+ $(MAKE) clobber;
(cd ..; tar cvf - OpenSceneGraph-0.8 | gzip > osg_src-`date "+%Y%m%d"`.tar.gz)
install :
- for f in $(DIRS) ; do cd $$f; make install; cd ..; done
+ for f in $(DIRS) ; do cd $$f; $(MAKE) install; cd ..; done
instlinks :
- for f in $(DIRS) ; do cd $$f; make instlinks; cd ..; done
+ for f in $(DIRS) ; do cd $$f; $(MAKE) instlinks; cd ..; done
instclean :
- for f in $(DIRS) ; do cd $$f; make instclean; cd ..; done
+ for f in $(DIRS) ; do cd $$f; $(MAKE) instclean; cd ..; done
|