aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 36563c1d99229c7d2db6156e32613f06be76b208 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
export FTAG_ROOT := $(shell pwd)
export __CFLAGS := -std=c99 -Wall -DFTAG_ROOT=\"$(FTAG_ROOT)\" -D_POSIX_C_SOURCE=200809L
export __LIBS := $(shell pkg-config --libs sqlite3)

export PROG ?= ftag
export CFLAGS ?= -O0 -g3

all: $(PROG)

$(PROG):
	make -C src

clean:
	make -C src clean
	rm -f $(PROG)

.PHONY: all clean