mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-17 21:58:33 +03:00
We now generalize the USB communiction and abandon the 'req_ctx' structure inherited from openpcd. Instead we use the libosmocore 'msgb' structure to handle incoming and outgoing USB tranfers. We also use linuxlist-based msgb-queues for each endpoint.
15 lines
318 B
Makefile
15 lines
318 B
Makefile
CFLAGS=-g -Wall -I../src_simtrace -I../libcommon/include -I.
|
|
LDFLAGS=-losmocore
|
|
|
|
VPATH=../src_simtrace ../libcommon/source
|
|
|
|
card_emu_test: card_emu_tests.hobj card_emu.hobj usb_buf.hobj iso7816_fidi.hobj
|
|
$(CC) $(LDFLAGS) -o $@ $^
|
|
|
|
%.hobj: %.c
|
|
$(CC) $(CFLAGS) -o $@ -c $^
|
|
|
|
clean:
|
|
@rm -f *.hobj
|
|
@rm -f card_emu_test
|