diff target-utils/compalstage/Makefile @ 378:3164604a6c70

install compalstage-*.bin and loadagent.srec from target-utils
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 09 Jun 2014 06:10:01 +0000
parents 48c08499cede
children 90af6744d256
line wrap: on
line diff
--- a/target-utils/compalstage/Makefile	Mon Jun 09 05:08:11 2014 +0000
+++ b/target-utils/compalstage/Makefile	Mon Jun 09 06:10:01 2014 +0000
@@ -1,7 +1,10 @@
 CC=	arm-elf-gcc
 OBJCOPY=arm-elf-objcopy
 
-all:	compalstage-plain.bin compalstage-thumb.bin compalstage-1003.bin
+TARGETS=compalstage-plain.bin compalstage-thumb.bin compalstage-1003.bin
+INSTDIR=/usr/local/share/freecalypso
+
+all:	${TARGETS}
 
 .SUFFIXES: .o .bin
 
@@ -17,6 +20,9 @@
 compalstage-thumb.o:	compalstage.S
 	${CC} -DTHUMB_ENTRY -c -o $@ $<
 
+install:
+	install -c ${TARGETS} ${INSTDIR}
+
 clean:
 	rm -f *.o *errs *core *.bin