From: Martin Mares Date: Mon, 23 Jul 2012 21:15:03 +0000 (+0200) Subject: Forgot Makefile X-Git-Tag: v1.0~44 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=42245863fe52021a80af335cf2579c5836616cbb;p=xsv.git Forgot Makefile --- diff --git a/Makefile b/Makefile new file mode 100644 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 .#*`