Update Makefile for firmware-install
authorStephan Baerwolf <stephan.baerwolf@tu-ilmenau.de>
Mon, 20 Aug 2012 00:08:45 +0000 (02:08 +0200)
committerStephan Baerwolf <stephan.baerwolf@tu-ilmenau.de>
Mon, 20 Aug 2012 21:54:35 +0000 (21:54 +0000)
Signed-off-by: Stephan Baerwolf <stephan.baerwolf@tu-ilmenau.de>
firmware/Makefile

index 79e8250..36b9cae 100644 (file)
@@ -123,6 +123,9 @@ OBJECTS =  usbdrv/usbdrvasm.o usbdrv/oddebug.o main.o
 # symbolic targets:
 all: main.hex
 
 # symbolic targets:
 all: main.hex
 
+install: main.hex
+       cp -Rvp main.hex ./hexfiles/usbasploader.hex
+
 .c.o:
        $(CC) $(CFLAGS) -c $< -o $@
 
 .c.o:
        $(CC) $(CFLAGS) -c $< -o $@