diff options
author | June McEnroe <june@causal.agency> | 2019-12-01 19:22:38 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-12-01 19:22:38 -0500 |
commit | c098eb31d870aafd96ef055d725f2e127043f6ab (patch) | |
tree | 24b3facbd7d55613bd28f5c649963d6e9716c5f4 /Makefile | |
parent | Document -d option to unscoop (diff) | |
download | litterbox-c098eb31d870aafd96ef055d725f2e127043f6ab.tar.gz litterbox-c098eb31d870aafd96ef055d725f2e127043f6ab.zip |
Implement database file search
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
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} |