initial import
[staff/goc4/2018bti7061.git] / c-2-controlStructures / examples / controlStatements / makefile
1 all: while ifthenelse average loops switches breaks continue goto
2
3 clean:
4 rm -f *.o *~ while ifthenelse average loops switches breaks continue goto
5
6
7 ifthenelse: ifthenelse.c
8 gcc ifthenelse.c -g -o ifthenelse
9
10
11 while: while.c
12 gcc while.c -o while
13
14
15 average: average.c
16 gcc average.c -o average
17
18
19 loops: loops.c
20 gcc loops.c -o loops
21
22
23 switches: switches.c
24 gcc switches.c -o switches
25
26 breaks: breaks.c
27 gcc breaks.c -o breaks
28
29 continue: continue.c
30 gcc continue.c -lm -o continue
31
32 goto: goto.c
33 gcc goto.c -lm -o goto