export FTAG_ROOT ?= $(shell pwd)/ftag_root export PROG ?= ftag export CFLAGS ?= -O0 -g3 export LDFLAGS ?= export LIBS ?= export __CFLAGS := -std=c99 -Wall \ -DFTAG_ROOT=\"$(FTAG_ROOT)\" \ -D_POSIX_C_SOURCE=200809L \ $(shell pkg-config --cflags sqlite3) export __LIBS := $(shell pkg-config --libs sqlite3) all: $(PROG) $(PROG): make -C src mv src/$(PROG) ./ clean: make -C src clean .PHONY: all clean