initial import
[staff/goc4/2018bti7061.git] / c-4-pointers / examples / c-pointers / makefile
1 PROGS=pointers1 pointers2 pointers3 pointers4 pointers5 pointers6 pointers7 dynamic1 pointerArithmetic1 pointerArithmetic2 multidimentionarray1 multidimentionarray2 functions
2 all: $(PROGS)
3
4 clean:
5 rm -f *.o *~ $(PROGS)
6
7 pointers1: pointers1.c
8 gcc pointers1.c -g -F dwarf -lm -o pointers1
9
10 pointers2: pointers2.c
11 gcc pointers2.c -g -F dwarf -lm -o pointers2
12
13
14 pointers3: pointers3.c
15 gcc pointers3.c -g -F dwarf -lm -o pointers3
16
17 pointers4: pointers4.c
18 gcc pointers4.c -g -F dwarf -lm -o pointers4
19
20
21 pointers5: pointers5.c
22 gcc pointers5.c -g -F dwarf -lm -o pointers5
23
24 pointers6: pointers6.c
25 gcc pointers6.c -g -F dwarf -lm -o pointers6
26
27 pointers7: pointers7.c
28 gcc pointers7.c -g -F dwarf -lm -o pointers7
29
30
31 dynamic1: dynamic1.c
32 gcc dynamic1.c -g -F dwarf -lm -o dynamic1
33
34 pointerArithmetic1: pointerArithmetic1.c
35 gcc pointerArithmetic1.c -g -F dwarf -lm -o pointerArithmetic1
36
37 pointerArithmetic2: pointerArithmetic2.c
38 gcc pointerArithmetic2.c -g -F dwarf -lm -o pointerArithmetic2
39
40 multidimentionarray1: multidimentionarray1.c
41 gcc multidimentionarray1.c -g -F dwarf -lm -o multidimentionarray1
42
43
44
45 multidimentionarray2: multidimentionarray2.c
46 gcc multidimentionarray2.c -g -F dwarf -lm -o multidimentionarray2
47
48
49 functions: functions.c
50 gcc functions.c -g -F dwarf -lm -o functions
51