blob: bd2bc0e7b119b0b861a50f1e45e23a7e18810198 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
BINARIES=../bin/extract_version_2 ../bin/extract_version_3 ../bin/split_version_2 ../bin/map_coords ../bin/convert_coords
binaries: $(BINARIES)
../bin/extract_version_3: export/extract_version_3.c export/mystdlib.c
@$(CC) -O2 -o ../bin/extract_version_3 export/extract_version_3.c export/mystdlib.c -lz -I export
../bin/extract_version_2: export/extract_version_2.c export/mystdlib.c
@$(CC) -O3 -o ../bin/extract_version_2 export/extract_version_2.c export/mystdlib.c -I export
../bin/split_version_2: export/split_version_2.c
@$(CC) -O3 -o ../bin/split_version_2 export/split_version_2.c
../bin/map_coords: export/map_coords.c export/mystdlib.c
@$(CC) -O3 -o ../bin/map_coords export/map_coords.c export/mystdlib.c -I export
../bin/convert_coords: export/convert_coords.c
@$(CC) -O3 -o ../bin/convert_coords export/convert_coords.c -lm
clean:
@rm -f $(BINARIES)
|