diff options
author | Martin Hauke <mardnh@gmx.de> | 2018-04-01 17:36:56 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-04-02 11:42:55 +0200 |
commit | 5e82cb7d63f5dc0b6d4544ba299a9f8b53d42f5c (patch) | |
tree | 7e36c3ec402e40015c32d32ac45034c379714b50 /Makefile | |
parent | a9b94bd8b9fc31ba80294da1d67a6261ed7856cc (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-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |