From c098eb31d870aafd96ef055d725f2e127043f6ab Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sun, 1 Dec 2019 19:22:38 -0500 Subject: Implement database file search --- Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..573290a --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +LIBS_PREFIX = /usr/local + +CFLAGS += -std=c11 -Wall -Wextra -Wpedantic +CFLAGS += ${LIBS_PREFIX:%=-I%/include} +LDFLAGS += ${LIBS_PREFIX:%=-L%/lib} +LDLIBS = -lsqlite3 + +BINS = litterbox + +-include config.mk + +dev: tags all + +all: ${BINS} + +${BINS:=.o}: litterbox.h + +tags: *.c *.h + ctags -w *.c *.h + +clean: + rm -f tags ${BINS} ${BINS:=.o} -- cgit 1.4.1