aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index a31484b..e598f42 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,6 @@ export FTAG_CONFIG_DIR ?= $(shell pwd)/ftag_config
export PROG ?= ftag
export CFLAGS ?= -O0 -g3
-export UCONFIG_ROOT ?= /usr/local
export LDFLAGS ?=
export LIBS ?=
@@ -24,9 +23,9 @@ export __CFLAGS := -std=c99 -Wall \
-DFTAG_VERSION=\"$(FTAG_VERSION)\" \
-D_POSIX_C_SOURCE=200809L \
$(shell pkg-config --cflags sqlite3) \
- -I$(UCONFIG_ROOT)/include
-export __LDFLAGS := -L$(UCONFIG_ROOT)/lib
-export __LIBS := $(shell pkg-config --libs sqlite3) -l uconfig
+ -I./uconfig/include
+export __LDFLAGS := -L./uconfig
+export __LIBS := $(shell pkg-config --libs sqlite3) -luconfig
all: $(PROG)