summary refs log tree commit diff
path: root/Makefile
blob: ea50e6a05d86f03e416e22d343400fb4a57aab78 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 unscoop

-include config.mk

dev: tags all

all: ${BINS}

${BINS:=.o}: database.h

tags: *.c *.h
	ctags -w *.c *.h

clean:
	rm -f tags ${BINS} ${BINS:=.o}
rc/commit/bin/Makefile?id=b1247767cc1199328fa2afbcfb81052ce4f7687f&follow=1'>Generate index.html with links from bin.7June McEnroe 2019-07-24Warn when date has changedJune McEnroe 2019-07-24Add whenJune McEnroe 2019-07-24Remove histedit from bitJune McEnroe