view target-utils/compalstage/Makefile @ 319:2c760f6b1fe0

gsm-fw/gpf/frame: everything compiles except vsi_trc.c
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 11 Apr 2014 08:13:52 +0000
parents 48c08499cede
children 3164604a6c70
line wrap: on
line source

CC=	arm-elf-gcc
OBJCOPY=arm-elf-objcopy

all:	compalstage-plain.bin compalstage-thumb.bin compalstage-1003.bin

.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 $@ $<

clean:
	rm -f *.o *errs *core *.bin

FRC: