-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile
77 lines (75 loc) · 2.43 KB
/
Makefile
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
CC="gcc"
CPP="g++"
CFLAGS=-O3
TARGETS=addletters bestguess bounce chaos charsnow consine countpi crop exclude fecho graph hdraw hex life money movers myatoi particles pascaltri printargs polyline rainbow roman rule90 ruler runlength safegets series spellnum stats throttle
TARGETS_LIBAO=playnotes
all: $(TARGETS) $(TARGETS_LIBAO)
nolibao: $(TARGETS)
clean:
rm -f $(TARGETS) $(TARGETS_LIBAO)
addletters: addletters.c
$(CC) $(CFLAGS) addletters.c -o addletters
bestguess: bestguess.cpp
$(CPP) $(CFLAGS) bestguess.cpp -o bestguess
bounce: bounce.c delayms.h
$(CC) $(CFLAGS) bounce.c -lncurses -o bounce
chaos: chaos.c
$(CC) $(CFLAGS) chaos.c -lncurses -lm -o chaos
charsnow: charsnow.c delayms.h
$(CC) $(CFLAGS) charsnow.c -lncurses -o charsnow
consine: consine.c
$(CC) $(CFLAGS) consine.c -lncurses -lm -o consine
countpi: countpi.c
$(CC) $(CFLAGS) countpi.c -o countpi
crop: crop.c
$(CC) $(CFLAGS) crop.c -o crop
exclude: exclude.c
$(CC) $(CFLAGS) exclude.c -o exclude
fecho: fecho.c
$(CC) $(CFLAGS) fecho.c -o fecho
graph: graph.c
$(CC) $(CFLAGS) graph.c -lform -lncurses -lmatheval -lm -o graph
hdraw: hdraw.c
$(CC) $(CFLAGS) hdraw.c -o hdraw
hex: hex.c
$(CC) $(CFLAGS) hex.c -o hex
life: life.c
$(CC) $(CFLAGS) life.c -lncurses -o life
money: money.c spellnum.h spellnum.c
$(CC) $(CFLAGS) money.c spellnum.c -lm -o money
movers: movers.c delayms.h
$(CC) $(CFLAGS) movers.c -lncurses -o movers
myatoi: myatoi.c
$(CC) $(CFLAGS) myatoi.c -o myatoi
particles: particles.cpp delayms.h
$(CPP) $(CFLAGS) particles.cpp -lncurses -o particles
pascaltri: pascaltri.c
$(CC) $(CFLAGS) pascaltri.c -o pascaltri
playnotes: playnotes.c
$(CC) $(CFLAGS) playnotes.c -lao -lm -o playnotes
printargs: printargs.c
$(CC) $(CFLAGS) printargs.c -o printargs
polyline: polyline.c
$(CC) $(CFLAGS) polyline.c -o polyline
rainbow: rainbow.c
$(CC) $(CFLAGS) rainbow.c -o rainbow
roman: roman.c
$(CC) $(CFLAGS) roman.c -o roman
rule90: rule90.c
$(CC) $(CFLAGS) rule90.c -o rule90
ruler: ruler.c
$(CC) $(CFLAGS) ruler.c -o ruler
runlength: runlength.c
$(CC) $(CFLAGS) runlength.c -o runlength
safegets: safegets.c
$(CC) $(CFLAGS) safegets.c -o safegets
series: series.c
$(CC) $(CFLAGS) series.c -o series
spellnum: spellnum.c spellnum.h
$(CC) $(CFLAGS) -DSPELLNUM_STANDALONE spellnum.c -o spellnum
stats: stats.c
$(CC) $(CFLAGS) stats.c -lm -o stats
throttle: throttle.c delayms.h
$(CC) $(CFLAGS) throttle.c -o throttle
unhdraw: unhdraw.c
$(CC) $(CFLAGS) unhdraw.c -o unhdraw