summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..65d7bc7
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
1OBJECTS=extract_version_1 extract_version_2 extract_version_3 split_version_2 map_coords convert_coords
2BINARIES=$(addprefix bin/,$(OBJECTS))
3CFLAGS+=-Wextra -O3
4LDFLAGS+=-lz -lm
5VPATH=src/export
6
7.SUFFIXES: .c
8
9all: $(BINARIES)
10
11bin/% : %.c mystdlib.c
12 $(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS)
13
14.PHONY: clean
15clean:
16 @rm -f $(BINARIES)