--- 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