view gsm-fw/lldbg/Makefile @ 956:1557e15a012f

target-utils refactoring: memory dump commands moved from libload to libcommon
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Wed, 04 Nov 2015 20:48:40 +0000
parents f5affe83ba2d
children
line wrap: on
line source

CC=	arm-elf-gcc
CFLAGS=	-Os -fno-builtin -mthumb-interwork -mthumb
ASFLAGS=-mthumb-interwork
LD=	arm-elf-ld

OBJS=	cmd_dump.o cmd_r16.o cmd_r32.o cmd_r8.o cmd_w16.o cmd_w32.o cmd_w8.o \
	cmdentry.o cmdtab.o dispatch.o doprnt.o entry.o entryinfo.o getchar.o \
	hexarg.o main.o parseargs.o printf.o putchar.o serio.o

all:	xipcode.o

xipcode.o:	${OBJS}
	${LD} -r -o $@ ${OBJS}

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