aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..2619f92
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+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)
+
+$(PROG):
+ make -C src
+
+clean:
+ make -C src clean
+ rm -f $(PROG)
+
+.PHONY: all clean