# HG changeset patch # User Mychaela Falconia # Date 1477460128 0 # Node ID 750765d6caeb398cfe1abc4798f22c38990e8a13 # Parent 2c9ea966edb99cde792cf868e70876aa3aa09f88 target-utils/{c139,pir}explore/Makefile: install added diff -r 2c9ea966edb9 -r 750765d6caeb target-utils/c139explore/Makefile --- a/target-utils/c139explore/Makefile Wed Oct 26 05:32:42 2016 +0000 +++ b/target-utils/c139explore/Makefile Wed Oct 26 05:35:28 2016 +0000 @@ -4,6 +4,8 @@ LD= arm-elf-ld OBJCOPY=arm-elf-objcopy +INSTDIR=/opt/freecalypso/target-bin + PROG= c139explore OBJS= crt0.o backlight.o cmdtab.o dac.o lcd.o main.o mygetchar.o uartbase.o \ uwire.o @@ -25,6 +27,10 @@ ${PROG}.bin: ${PROG}.elf ${OBJCOPY} -O binary $< $@ +install: + mkdir -p ${INSTDIR} + install -c -m 644 ${PROG}.bin ${INSTDIR} + clean: rm -f *.o *errs *core *.elf *.bin *.srec crt0.S diff -r 2c9ea966edb9 -r 750765d6caeb target-utils/pirexplore/Makefile --- a/target-utils/pirexplore/Makefile Wed Oct 26 05:32:42 2016 +0000 +++ b/target-utils/pirexplore/Makefile Wed Oct 26 05:35:28 2016 +0000 @@ -4,6 +4,8 @@ LD= arm-elf-ld OBJCOPY=arm-elf-objcopy +INSTDIR=/opt/freecalypso/target-bin + PROG= pirexplore OBJS= crt0.o cmdtab.o ffsparam.o flashid.o lcd.o main.o mygetchar.o rtc.o LIBS= ../libtiffs/libtiffs.a ../libcommon/libcommon.a \ @@ -26,6 +28,10 @@ ${PROG}.srec: ${PROG}.elf ${OBJCOPY} -O srec --srec-forceS3 --srec-len=30 $< $@ +install: + mkdir -p ${INSTDIR} + install -c -m 644 ${PROG}.srec ${INSTDIR} + clean: rm -f *.o *errs *core *.elf *.bin *.srec crt0.S