FreeCalypso > hg > freecalypso-tools
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 41:2c9ea966edb9 | 42:750765d6caeb |
|---|---|
| 1 CC= arm-elf-gcc | 1 CC= arm-elf-gcc |
| 2 CFLAGS= -Os -fno-builtin | 2 CFLAGS= -Os -fno-builtin |
| 3 CPPFLAGS=-I../include | 3 CPPFLAGS=-I../include |
| 4 LD= arm-elf-ld | 4 LD= arm-elf-ld |
| 5 OBJCOPY=arm-elf-objcopy | 5 OBJCOPY=arm-elf-objcopy |
| 6 | |
| 7 INSTDIR=/opt/freecalypso/target-bin | |
| 6 | 8 |
| 7 PROG= pirexplore | 9 PROG= pirexplore |
| 8 OBJS= crt0.o cmdtab.o ffsparam.o flashid.o lcd.o main.o mygetchar.o rtc.o | 10 OBJS= crt0.o cmdtab.o ffsparam.o flashid.o lcd.o main.o mygetchar.o rtc.o |
| 9 LIBS= ../libtiffs/libtiffs.a ../libcommon/libcommon.a \ | 11 LIBS= ../libtiffs/libtiffs.a ../libcommon/libcommon.a \ |
| 10 ../libprintf/libprintf.a ../libbase/libbase.a | 12 ../libprintf/libprintf.a ../libbase/libbase.a |
| 24 --start-group ${TC_LIBS} --end-group | 26 --start-group ${TC_LIBS} --end-group |
| 25 | 27 |
| 26 ${PROG}.srec: ${PROG}.elf | 28 ${PROG}.srec: ${PROG}.elf |
| 27 ${OBJCOPY} -O srec --srec-forceS3 --srec-len=30 $< $@ | 29 ${OBJCOPY} -O srec --srec-forceS3 --srec-len=30 $< $@ |
| 28 | 30 |
| 31 install: | |
| 32 mkdir -p ${INSTDIR} | |
| 33 install -c -m 644 ${PROG}.srec ${INSTDIR} | |
| 34 | |
| 29 clean: | 35 clean: |
| 30 rm -f *.o *errs *core *.elf *.bin *.srec crt0.S | 36 rm -f *.o *errs *core *.elf *.bin *.srec crt0.S |
| 31 | 37 |
| 32 FRC: | 38 FRC: |
