view target-utils/libload/Makefile @ 687:95608d9c90de

gsm-fw/g23m-gsm/alr/Makefile: link xipcode.o
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 29 Sep 2014 23:42:53 +0000
parents 7daea2476062
children 1557e15a012f
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_memdump_human.o cmd_memdump_machine.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