view target-utils/libload/Makefile @ 966:64cddafcd939

.hgignore: rvinterf clean-up
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sat, 07 Nov 2015 00:18:03 +0000
parents 1557e15a012f
children
line wrap: on
line source

CC=	arm-elf-gcc
CFLAGS=	-Os -fno-builtin
CPPFLAGS=-I../include
AR=	arm-elf-ar
RANLIB=	arm-elf-ranlib

OBJS=	cmd_blankchk.o cmd_crc32.o cmd_memload.o \
	amdflash.o hexstrings.o intelflash.o

all:	libload.a

libload.a:	${OBJS}
	${AR} cru $@ ${OBJS}
	${RANLIB} $@

clean:
	rm -f *.[oa] *errs