aboutsummaryrefslogtreecommitdiffstats
path: root/sw/usbcom/Makefile
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-08-16 14:59:36 -0230
committerSam Anthony <sam@samanthony.xyz>2025-08-16 14:59:36 -0230
commitee61ef56f775e44fd0b857a960102148910e6dce (patch)
tree9063a6a74af17d9a0ef45392dc28eaf770a22d69 /sw/usbcom/Makefile
parent478a91bd82e27d8d6b2e597fd659e484ca6b205a (diff)
downloadcan-gauge-interface-ee61ef56f775e44fd0b857a960102148910e6dce.zip
usbcom: modified libusb example
Diffstat (limited to 'sw/usbcom/Makefile')
-rw-r--r--sw/usbcom/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/sw/usbcom/Makefile b/sw/usbcom/Makefile
new file mode 100644
index 0000000..e496736
--- /dev/null
+++ b/sw/usbcom/Makefile
@@ -0,0 +1,9 @@
+CC = tcc
+CFLAGS = -std=c99 -Wall
+LDFLAGS = -lusb-1.0
+
+usbcom: usbcom.c
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
+
+clean:
+ rm usbcom