initial import
[staff/goc4/2018bti7061.git] / c-6-additional / examples / c-paralelism / makefile
1 all: fork1 fork2 thread1 thread0
2
3 clean:
4 rm *.o *~
5
6 fork1: fork1.c
7 gcc fork1.c -g -lm -o fork1
8 fork2: fork2.c
9 gcc fork2.c -g -lm -o fork2
10
11 thread1: thread1.c
12 gcc thread1.c -g -lm -lpthread -o thread1
13
14
15 thread0: thread0.c
16 gcc thread0.c -g -lm -lpthread -o thread0