commit | 8dd67e3bbb81c1c85e011d27da04223c434647ce | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@osmocom.org> | Thu Sep 03 10:10:09 2020 +0200 |
committer | Harald Welte <laforge@osmocom.org> | Thu Sep 03 10:18:26 2020 +0200 |
tree | 9121d57a34af3288c27a11758e341c32e6e4bb87 | |
parent | 68bc7f4a86bbdc6920ef6fa7ee64f6f6f54de0a8 [diff] [blame] |
import ccid-control - small hack to send CCID USB control requests Change-Id: I7d6cf32e91dfd9974d2e28f13a2b062e07d17d6c
diff --git a/contrib/Makefile b/contrib/Makefile new file mode 100644 index 0000000..54d6e77 --- /dev/null +++ b/contrib/Makefile
@@ -0,0 +1,12 @@ +CFLAGS=-Wall -g `pkg-config --cflags libusb-1.0` + +LDFLAGS=-lasan `pkg-config --libs libusb-1.0` + +ccid-control: ccid-control.o + $(CC) $(LDFLAGS) -o $@ $^ + +%.o: %.c + $(CC) $(CFLAGS) -o $@ -c $^ + +clean: + rm ccid-control *.o