summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2014-02-24 03:14:53 +0100
committerDirk Engling <erdgeist@erdgeist.org>2014-02-24 03:14:53 +0100
commit2a185f889470f9bfa049b1610900536309aded5a (patch)
treed127a4d9b38adf9f8aa0c65abb8f10320f18a220 /src/Makefile
parent2f724b60ce0a8323dd4173b4651661d04b0c94f9 (diff)
Use make the way it was intended
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/Makefile b/src/Makefile
deleted file mode 100644
index 6d40c6b..0000000
--- a/src/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
1BINARIES=../bin/extract_version_1 ../bin/extract_version_2 ../bin/extract_version_3 ../bin/split_version_2 ../bin/map_coords ../bin/convert_coords
2binaries: $(BINARIES)
3CFLAGS+=-Wextra
4
5../bin/extract_version_3: export/extract_version_3.c export/mystdlib.c
6 @$(CC) $(CFLAGS) -O2 -o ../bin/extract_version_3 export/extract_version_3.c export/mystdlib.c -lz -I export
7
8../bin/extract_version_2: export/extract_version_2.c export/mystdlib.c
9 @$(CC) $(CFLAGS) -O3 -o ../bin/extract_version_2 export/extract_version_2.c export/mystdlib.c -I export
10
11../bin/extract_version_1: export/extract_version_1.c export/mystdlib.c
12 @$(CC) $(CFLAGS) -O3 -o ../bin/extract_version_1 export/extract_version_1.c export/mystdlib.c -I export
13
14../bin/split_version_2: export/split_version_2.c
15 @$(CC) $(CFLAGS) -O3 -o ../bin/split_version_2 export/split_version_2.c
16
17../bin/map_coords: export/map_coords.c export/mystdlib.c
18 @$(CC) $(CFLAGS) -O3 -o ../bin/map_coords export/map_coords.c export/mystdlib.c -I export
19
20../bin/convert_coords: export/convert_coords.c
21 @$(CC) $(CFLAGS) -O3 -o ../bin/convert_coords export/convert_coords.c -lm
22
23clean:
24 @rm -f $(BINARIES)