-
Notifications
You must be signed in to change notification settings - Fork 0
/
all.sh
49 lines (31 loc) · 791 Bytes
/
all.sh
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
# Little shell script to compile, link, and run all the samples.
# Use dmd\windows\bin\shell.exe to execute.
DMD=..\..\windows\bin\dmd
DFLAGS=
CLEAN=clean.bat
#~ $(DMD) chello $(DFLAGS) # which compilation flags?
#~ chello
$(DMD) d2html $(DFLAGS)
d2html d2html.d
$(DMD) dhry $(DFLAGS)
dhry
$(DMD) hello $(DFLAGS)
hello
#~ $(DMD) htmlget $(DFLAGS) # broken
#~ $(DMD) listener $(DFLAGS) # broken
$(DMD) pi $(DFLAGS)
pi 1000
$(DMD) sieve $(DFLAGS)
sieve
$(DMD) wc $(DFLAGS)
wc wc.d
$(DMD) wc2 $(DFLAGS)
wc2 wc2.d
$(DMD) winsamp gdi32.lib winsamp.def
winsamp
# COM client/server example
$(DMD) dserver.d chello.d dserver.def advapi32.lib ole32.lib user32.lib
# dclient will fail unless run with administrator rights
$(DMD) dclient $(DFLAGS) ole32.lib uuid.lib
dclient
$(CLEAN)