summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile22
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}
c/commit/bin/cash/cash-test.1?id=1d95dddc62b07f0fb1884aabae19d20e7c1a97fa&follow=1'>Restore cash builtin man page datesJune McEnroe 2019-01-12Use local libeditJune McEnroe 2019-01-12Replace libedit MakefileJune McEnroe 2019-01-11Import /usr/src/lib/libedit from NetBSD 8.0June McEnroe 2019-01-11Add PSlit for prompt escapesJune McEnroe 2019-01-11Don't make depend automaticallyJune McEnroe