]> git.zerfleddert.de Git - usb-driver/blobdiff - Makefile
add something versionlike for the git-tracked usb-driver
[usb-driver] / Makefile
index cb025f2b96f9dd7994a873078fe152ef784a9db2..bd63135ce7c5cc842962cbb428fbea1b4c0a43c9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 #Add -DFORCE_PC3_IDENT to CFLAGS to force the identification of
 #a Parallel Cable III
-CFLAGS=-Wall -fPIC #-DFORCE_PC3_IDENT
+CFLAGS=-Wall -fPIC -DUSB_DRIVER_VERSION="\"$(shell stat -c '%y' usb-driver.c |cut -d\. -f1)\"" #-DFORCE_PC3_IDENT
 
 FTDI := $(shell libftdi-config --libs 2>/dev/null)
 ifneq ($(FTDI),)
Impressum, Datenschutz