aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Riehs <tristan.riehs@inria.fr>2026-05-31 11:50:23 +0200
committerTristan Riehs <tristan.riehs@inria.fr>2026-05-31 11:50:23 +0200
commitd547f1ca7708004ef5515ef14dafdff365b2d064 (patch)
tree263e1c1527eba9a2436c27feadce025f8de6855c
parent7174aa22a64a11bbb5b32df3cc1f8ffa6e71fc00 (diff)
Actually add the uconfig submodule
-rw-r--r--Makefile7
m---------uconfig0
2 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)
diff --git a/uconfig b/uconfig
new file mode 160000
+Subproject 560b4546110853339f15050d3a2578ffe4d0690