File: Makefile

package info (click to toggle)
libsx 2.05-3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,372 kB
  • sloc: ansic: 8,540; makefile: 258
file content (73 lines) | stat: -rw-r--r-- 1,288 bytes parent folder | download | duplicates (4)
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
#
# Top level makefile for libsx and all the example code.
#
# Basically we just cd into each of the directories and build
# the stuff that's there.
#
# I know I've committed a major sin by not using imake to generate
# the makefiles, but I've never quite understood that beast and it seems
# overly complicated to me (but then again I never put tons of effort
# into understanding it).  If someone would like to explain it to me,
# I'd like that (or point to some simple to read documentation).
#
# Dominic Giamapolo
# dbg@sgi.com
# 

SHELL=/bin/sh
DIRS = src demo0 demo1 demo2 demo3 demo4 bezier frac \
       freq creq multireq skel xmore xrootbg draw_demo controlbox

all : $(DIRS)

src::
	(cd src ; $(MAKE) )

demo0::
	(cd demo0 ; $(MAKE) )

demo1::
	(cd demo1 ; $(MAKE) )

demo2::
	(cd demo2 ; $(MAKE) )

demo3::
	(cd demo3 ; $(MAKE) )

demo4::
	(cd demo4 ; $(MAKE) )

bezier::
	(cd bezier ; $(MAKE) )

frac::
	(cd frac ; $(MAKE) )

freq::
	(cd freq ; $(MAKE) )

creq::
	(cd creq ; $(MAKE) )

multireq::
	(cd multireq ; $(MAKE) )

skel::
	(cd skel ; $(MAKE) )

xmore::
	(cd xmore ; $(MAKE) )

xrootbg::
	(cd xrootbg ; $(MAKE) )

draw_demo::
	(cd draw_demo ; $(MAKE) )


clean :
	rm -f core *~
	for dir in $(DIRS);  do               \
	   cd $$dir ; make clean ; cd ..;     \
	done;