comparison tango/example/linux.mak @ 132:1700239cab2e trunk

[svn r136] MAJOR UNSTABLE UPDATE!!! Initial commit after moving to Tango instead of Phobos. Lots of bugfixes... This build is not suitable for most things.
author lindquist
date Fri, 11 Jan 2008 17:57:40 +0100
parents
children
comparison
equal deleted inserted replaced
131:5825d48b27d1 132:1700239cab2e
1 # Makefile to build the examples of tango for Linux
2 # Designed to work with GNU make
3 # Targets:
4 # make
5 # Same as make all
6 # make all
7 # Build all examples
8 #
9 # make <executable-name>
10 # Build a specified example
11 # make clean
12 # remove all build examples
13 #
14 #
15
16 # Relative path to the tango include dir
17 # This is where the tango tree is located
18 TANGO_DIR = ..
19
20 # The build tool executable from dsource.org/projects/build
21 BUILDTOOL = bud
22 BUILDOPTS = -noautoimport -op -clean -full -g -debug -I$(TANGO_DIR)
23
24 .PHONY: all clean
25
26 # Standard target
27 all :
28
29 # networking/httpserver \
30 # networking/servlets \
31 # networking/servletserver\
32
33 SIMPLE_EXAMPLES =\
34 concurrency/fiber_test \
35 conduits/FileBucket \
36 conduits/composite \
37 conduits/filebubbler \
38 conduits/filecat \
39 conduits/filecopy \
40 conduits/fileops \
41 conduits/filepathname \
42 conduits/filescan \
43 conduits/filescanregex \
44 conduits/lineio \
45 conduits/mmap \
46 conduits/randomio \
47 conduits/unifile \
48 console/hello \
49 console/stdout \
50 logging/chainsaw \
51 logging/logging \
52 networking/homepage \
53 networking/httpget \
54 networking/sockethello \
55 networking/socketserver \
56 system/argparser \
57 system/localtime \
58 system/normpath \
59 system/process \
60 networking/selector \
61 text/formatalign \
62 text/formatindex \
63 text/formatspec \
64 text/localetime \
65 text/properties \
66 text/token
67
68 REFERENCE_EXAMPLES = \
69 ./reference/chapter4 \
70 ./reference/chapter11
71
72 $(SIMPLE_EXAMPLES) : % : %.d
73 @echo "Building : " $@
74 $(BUILDTOOL) $< $(BUILDOPTS) -T$@ -unittest
75
76 $(REFERENCE_EXAMPLES) : % : %.d
77 @echo "Building : " $@
78 $(BUILDTOOL) $< $(BUILDOPTS) -T$@
79
80 all : $(SIMPLE_EXAMPLES)
81
82 clean :
83 @echo "Removing all examples"
84 rm -f $(SIMPLE_EXAMPLES) $(REFERENCE_EXAMPLES)
85 rm -f conduits/random.bin
86
87
88
89