From 5e82cb7d63f5dc0b6d4544ba299a9f8b53d42f5c Mon Sep 17 00:00:00 2001 From: Martin Hauke Date: Sun, 1 Apr 2018 17:36:56 +0200 Subject: misc fixes * only link against ttcn3-dynamic when you build with ENABLE_TITAN * obey CFLAGS * fix typos --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3