FreeCalypso > hg > freecalypso-tools
diff target-utils/pirexplore/Makefile @ 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 | e7502631a0f9 |
children | 6803e0e83b30 |
line wrap: on
line diff
--- 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