FreeCalypso > hg > freecalypso-tools
changeset 42:750765d6caeb
target-utils/{c139,pir}explore/Makefile: install added
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 26 Oct 2016 05:35:28 +0000 |
parents | 2c9ea966edb9 |
children | 647a7bdba4be |
files | target-utils/c139explore/Makefile target-utils/pirexplore/Makefile |
diffstat | 2 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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