summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7901891..5888dc8 100644
--- a/Makefile
+++ b/Makefile
@@ -3,12 +3,13 @@ LIB_OBJS = $(LIB_SRCS:.c=.o)
EXTRA_LIBS =
-CFLAGS = -Wall
-LDFLAGS=-L/usr/lib/titan -fPIC -lttcn3-dynamic
+CFLAGS += -Wall
+LDFLAGS= -fPIC
ifdef ENABLE_TITAN
EXTRA_LIBS += titan/titan.a
CFLAGS += -DENABLE_TITAN
+LDFLAGS += -L/usr/lib/titan -lttcn3-dynamic
endif
default: libudtrace.so
personal git repositories of Harald Welte. Your mileage may vary