aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2619f92..288082b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,9 @@
+export FTAG_ROOT := $(shell pwd)
+export __CFLAGS := -std=c99 -Wall -DFTAG_ROOT=\"$(FTAG_ROOT)\"
+export __LIBS := $(shell pkg-config --libs sqlite3)
+
export PROG ?= ftag
export CFLAGS ?= -O0 -g3
-export __CFLAGS := -std=c99 -Wall
-export __LIBS := $(shell pkg-config --libs sqlite3)
-export FTAG_ROOT := $(shell pwd)
all: $(PROG)