# HG changeset patch # User Mychaela Falconia # Date 1549820095 0 # Node ID 5c1fb31751d7ab71839cdbf6371ab6437ff5a789 # Parent 0a2e3fd156ed35d988bbd348f9fc9fd66c4d96c7 target-utils/simtest/Makefile: install added diff -r 0a2e3fd156ed -r 5c1fb31751d7 target-utils/simtest/Makefile --- a/target-utils/simtest/Makefile Sat Feb 09 17:21:45 2019 +0000 +++ b/target-utils/simtest/Makefile Sun Feb 10 17:34:55 2019 +0000 @@ -4,6 +4,8 @@ LD= arm-elf-ld OBJCOPY=arm-elf-objcopy +INSTDIR=/opt/freecalypso/target-bin + PROG= simtest OBJS= crt0.o cmdtab.o main.o poll.o reset.o setup.o volt.o LIBS= ../libcommon/libcommon.a ../libprintf/libprintf.a ../libbase/libbase.a \ @@ -23,6 +25,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