# HG changeset patch # User edouard # Date 1290899116 -3600 # Node ID 15e8d1ec0e61873a440691b71208fa1fefb99f7d # Parent 2c43383a1d571ce49bae22a99b30218e0b5ad98a get always the latest version of VSCAN API diff -r 2c43383a1d57 -r 15e8d1ec0e61 drivers/can_vscom/Makefile.in --- a/drivers/can_vscom/Makefile.in Sat Nov 13 23:08:34 2010 +0100 +++ b/drivers/can_vscom/Makefile.in Sun Nov 28 00:05:16 2010 +0100 @@ -32,6 +32,7 @@ TIMERS_DRIVER = SUB_TIMERS_DRIVER ENABLE_DLL_DRIVERS=SUB_ENABLE_DLL_DRIVERS CAN_DLL_CFLAGS=SUB_CAN_DLL_CFLAGS -L. +VSCAN_API_FILENAME=VSCAN_API_latest.zip # define target specific environment ifeq ($(OS),CYGWIN) @@ -65,12 +66,12 @@ all: driver vs_can_api.h: - wget http://www.vscom.de/download/multiio/linux/driver/VSCAN_API_1_0.zip + wget http://www.vscom.de/download/multiio/linux/driver/${VSCAN_API_FILENAME} @if which unzip &> /dev/null; then \ - unzip VSCAN_API_1_0.zip; \ + unzip ${VSCAN_API_FILENAME}; \ chmod +x vs_can_api.dll; \ else \ - echo "No unzip found. Please decompress VSCAN_API_1_0.zip manually"; \ + echo "No unzip found. Please decompress ${VSCAN_API_FILENAME} manually"; \ exit 1; \ fi; @@ -91,8 +92,7 @@ clean: rm -f $(OBJS) - rm -f *.zip - rm -f libvs_can_api* - rm -f vs_can_api* + rm -f *.zip *.a *.so *.dll *.h *.lib + rm -f CHANGES.TXT mrproper: clean