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) -g LDLIBS=$(PCRE_LIBS) all: xsv xsv.1 tests: xsv ./run-tests xsv.1: xsv.1.txt a2x -f manpage $< clean: rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*` rm -f xsv xsv.1 rm -rf tmp