view target-utils/libload/Makefile @ 23:aca1948e9713

loadtool: initial version compiles and links
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 04 May 2013 04:52:05 +0000
parents c0e063494194
children 2c6b2a74ac7c
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_memdump_human.o cmd_memdump_machine.o

all:	libload.a

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

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