view loadagent/libnosys/Makefile @ 5:4a7a325ed1b6

loadagent: printf hooked in
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 29 Apr 2013 17:53:54 +0000
parents da98dc08f575
children
line wrap: on
line source

CC=	arm-elf-gcc
CFLAGS=	-Os -mcpu=arm7tdmi -marm -mno-thumb-interwork
AR=	arm-elf-ar
RANLIB=	arm-elf-ranlib

OBJS=	close.o fstat.o getpid.o isatty.o kill.o lseek.o open.o read.o sbrk.o \
	stat.o unlink.o write.o

all:	libnosys.a

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

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