FreeCalypso > hg > freecalypso-sw
view target-utils/compalstage/Makefile @ 384:7ef814efbebe
loadtools: make install logic refactored in light of compalstage addition
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Tue, 10 Jun 2014 08:49:55 +0000 |
parents | 3164604a6c70 |
children | 90af6744d256 |
line wrap: on
line source
CC= arm-elf-gcc OBJCOPY=arm-elf-objcopy TARGETS=compalstage-plain.bin compalstage-thumb.bin compalstage-1003.bin INSTDIR=/usr/local/share/freecalypso all: ${TARGETS} .SUFFIXES: .o .bin .o.bin: ${OBJCOPY} -O binary $< $@ compalstage-1003.o: compalstage.S ${CC} -DPAD_TO_1003 -c -o $@ $< compalstage-plain.o: compalstage.S ${CC} -c -o $@ $< compalstage-thumb.o: compalstage.S ${CC} -DTHUMB_ENTRY -c -o $@ $< install: install -c ${TARGETS} ${INSTDIR} clean: rm -f *.o *errs *core *.bin FRC: