summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMartin Hauke <mardnh@gmx.de>2018-04-01 17:36:56 +0200
committerHarald Welte <laforge@gnumonks.org>2018-04-02 11:42:55 +0200
commit5e82cb7d63f5dc0b6d4544ba299a9f8b53d42f5c (patch)
tree7e36c3ec402e40015c32d32ac45034c379714b50 /Makefile
parenta9b94bd8b9fc31ba80294da1d67a6261ed7856cc (diff)
misc fixes
* only link against ttcn3-dynamic when you build with ENABLE_TITAN * obey CFLAGS * fix typos
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