-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
32 lines (18 loc) · 889 Bytes
/
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
OPT = -Wall -Wextra -pg
all: stats_sim idle
stats_sim : source/stats_sim.c rhinite.o csv.o mt19937ar.o
gcc $(OPT) source/stats_sim.c rhinite.o csv.o mt19937ar.o -o stats_sim -lm
idle : source/idle.c rhinite.o menuing.o mt19937ar.o affichage.o
gcc $(OPT) source/idle.c rhinite.o menuing.o mt19937ar.o affichage.o -o idle
rhinite.o: source/rhinite.c source/rhinite.h
gcc $(OPT) -c source/rhinite.c
mt19937ar.o: packages/mt19937ar/mt19937ar.c packages/mt19937ar/mt19937ar.h
gcc $(OPT) -c packages/mt19937ar/mt19937ar.c
menuing.o: packages/menuing/menuing.c packages/menuing/menuing.h
gcc $(OPT) -c packages/menuing/menuing.c
csv.o: packages/csv/csv.c packages/csv/csv.h
gcc $(OPT) -c packages/csv/csv.c
affichage.o: packages/affichage/affichage.c packages/affichage/affichage.h
gcc $(OPT) -c packages/affichage/affichage.c
clean:
rm -rf *.o *.out stats_sim idle out/