aboutsummaryrefslogtreecommitdiffstats
path: root/host/Makefile
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-08-15 11:54:02 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-08-15 11:54:02 +0200
commitc960a258491c80f178a5730bfd5e70f5217d2dae (patch)
tree00e2b946aafdfe386d1f121acbb804cc8e236611 /host/Makefile
parenta496d88a7985e9c061e384bedc23a327d0637aaf (diff)
host: Pass all modules to one pkg-config invocation
Invoke pkg-config only once per command, makes the lines a bit shorter as well.
Diffstat (limited to 'host/Makefile')
-rw-r--r--host/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/Makefile b/host/Makefile
index 247cabc..8e31075 100644
--- a/host/Makefile
+++ b/host/Makefile
@@ -1,4 +1,4 @@
-LDFLAGS=`pkg-config --libs libusb-1.0` `pkg-config --libs libosmocore` -losmocore
+LDFLAGS=`pkg-config --libs libusb-1.0 libosmocore` -losmocore
all: simtrace
@@ -6,7 +6,7 @@ simtrace: main.o apdu_split.o
$(CC) -o $@ $^ $(LDFLAGS)
%.o: %.c
- $(CC) $(CFLAGS) `pkg-config --cflags libusb-1.0` `pkg-config --cflags libosmocore` -o $@ -c $^
+ $(CC) $(CFLAGS) `pkg-config --cflags libusb-1.0 libosmocore` -o $@ -c $^
install: simtrace
install -d $(DESTDIR)/usr/bin/