]> mj.ucw.cz Git - xsv.git/commitdiff
Forgot Makefile
authorMartin Mares <mj@ucw.cz>
Mon, 23 Jul 2012 21:15:03 +0000 (23:15 +0200)
committerMartin Mares <mj@ucw.cz>
Mon, 23 Jul 2012 21:15:03 +0000 (23:15 +0200)
Makefile [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..bc54c01
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+PCRE_CFLAGS:=$(shell pcre-config --cflags)
+PCRE_LIBS:=$(shell pcre-config --libs)
+
+CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99 $(PCRE_CFLAGS)
+LDLIBS=$(PCRE_LIBS)
+
+all: xsv
+
+clean:
+       rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*`