mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
We now auto-discover the end-point addresses based on the interface descriptor. The user can also use the new "--interface" command line argument to set a non-zero intrerface. In combination, this should enable support for the remote-sim functionality on the second UART on OWHW.
16 lines
455 B
Makefile
16 lines
455 B
Makefile
LDFLAGS=`pkg-config --libs libusb-1.0 libosmocore` -losmocore
|
|
|
|
all: simtrace2-remsim simtrace2-remsim-usb2udp
|
|
|
|
simtrace2-remsim: simtrace2-remsim.o apdu_dispatch.o simtrace2-discovery.o
|
|
$(CC) -o $@ $^ $(LDFLAGS) -losmosim
|
|
|
|
simtrace2-remsim-usb2udp: usb2udp.o simtrace2-discovery.o
|
|
$(CC) -o $@ $^ $(LDFLAGS)
|
|
|
|
%.o: %.c
|
|
$(CC) $(CFLAGS) `pkg-config --cflags libusb-1.0 libosmocore` -o $@ -c $^
|
|
|
|
clean:
|
|
@rm -f simtrace2-remsim simtrace2-remsim-usb2udp *.o
|