FreeCalypso > hg > freecalypso-tools
comparison target-utils/compalstage/Makefile @ 0:e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Sat, 11 Jun 2016 00:13:35 +0000 |
| parents | |
| children | 21eec7569eb8 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:e7502631a0f9 |
|---|---|
| 1 CC= arm-elf-gcc | |
| 2 OBJCOPY=arm-elf-objcopy | |
| 3 | |
| 4 TARGETS=compalstage-plain.bin compalstage-thumb.bin compalstage-1003.bin | |
| 5 INSTDIR=/usr/local/share/freecalypso | |
| 6 | |
| 7 all: ${TARGETS} | |
| 8 | |
| 9 .SUFFIXES: .o .bin | |
| 10 | |
| 11 .o.bin: | |
| 12 ${OBJCOPY} -O binary $< $@ | |
| 13 | |
| 14 compalstage-1003.o: compalstage.S | |
| 15 ${CC} -DPAD_TO_1003 -c -o $@ $< | |
| 16 | |
| 17 compalstage-plain.o: compalstage.S | |
| 18 ${CC} -c -o $@ $< | |
| 19 | |
| 20 compalstage-thumb.o: compalstage.S | |
| 21 ${CC} -DTHUMB_ENTRY -c -o $@ $< | |
| 22 | |
| 23 install: | |
| 24 mkdir -p ${INSTDIR} | |
| 25 install -c ${TARGETS} ${INSTDIR} | |
| 26 | |
| 27 clean: | |
| 28 rm -f *.o *errs *core *.bin | |
| 29 | |
| 30 FRC: |
