aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-07-17 18:05:08 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-07-17 18:05:08 +0200
commit5953e905994bf8c58c74220e7f0edd91c07b1bf0 (patch)
tree24eb81eb4c4b14716876e8a6e4e018140c3b8c11 /host
parentf1c60623ae07b9ce87df0567ec6e5b91c41daa95 (diff)
make: Move the LDFLAGS to the end of the link line for OpenSUSE
The code does not build like this on a OpenSUSE system, it will not find the libusb and libosmocore library.
Diffstat (limited to 'host')
-rw-r--r--host/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/Makefile b/host/Makefile
index 4f117b1..2f3a482 100644
--- a/host/Makefile
+++ b/host/Makefile
@@ -3,7 +3,7 @@ LDFLAGS=-lusb `pkg-config --libs libosmocore` -losmocore
all: simtrace
simtrace: main.o usb_helper.o usb.o apdu_split.o
- $(CC) $(LDFLAGS) -o $@ $^
+ $(CC) -o $@ $^ $(LDFLAGS)
%.o: %.c
$(CC) $(CFLAGS) `pkg-config --cflags libosmocore` -o $@ -c $^