summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2013-03-24 14:38:46 +0100
committerHelmut Grohne <helmut@subdivi.de>2013-03-24 14:38:46 +0100
commita419d7bf4c39e4a9f360fa9c04d2d2950d89987d (patch)
tree8c729660d4dc7417f24c9c4b538410c57dbd60f9
parent0c76d87bc1b66a4337a0abfc1cda5661be6b7ed8 (diff)
downloadssdeep-a419d7bf4c39e4a9f360fa9c04d2d2950d89987d.tar.gz
minimal Makefile
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..a9af731
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+CC ?= clang
+CFLAGS ?= -W -Wall -Wextra -pedantic
+
+%.o:%.c
+ $(CC) $(CFLAGS) -c $< -o $@
+
+build:ssdeep
+clean:
+ rm -f ssdeep ssdeep.o fuzzy.o
+
+ssdeep:ssdeep.o fuzzy.o
+ $(CC) $(CFLAGS) $^ -o $@
+ssdeep.o:ssdeep.c fuzzy.h
+fuzzy.o:fuzzy.c fuzzy.h