diff options
author | Peter Stuge <peter@stuge.se> | 2011-08-13 21:15:04 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-08-15 10:31:54 +0200 |
commit | 18ad51fe76d3c5dc13b733c38c71d93bbc7846a1 (patch) | |
tree | 4833e92e55d4fb2bfe279283f5e79d191ef2a041 /host/Makefile | |
parent | 7b76e0ce7c622dff014df0754c9af6993242d340 (diff) |
Use libusb-1.0 for USB communication
Diffstat (limited to 'host/Makefile')
-rw-r--r-- | host/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/host/Makefile b/host/Makefile index 03120c4..247cabc 100644 --- a/host/Makefile +++ b/host/Makefile @@ -1,12 +1,12 @@ -LDFLAGS=-lusb `pkg-config --libs libosmocore` -losmocore +LDFLAGS=`pkg-config --libs libusb-1.0` `pkg-config --libs libosmocore` -losmocore all: simtrace -simtrace: main.o usb_helper.o usb.o apdu_split.o +simtrace: main.o apdu_split.o $(CC) -o $@ $^ $(LDFLAGS) %.o: %.c - $(CC) $(CFLAGS) `pkg-config --cflags libosmocore` -o $@ -c $^ + $(CC) $(CFLAGS) `pkg-config --cflags libusb-1.0` `pkg-config --cflags libosmocore` -o $@ -c $^ install: simtrace install -d $(DESTDIR)/usr/bin/ |