view loadagent/libnosys/Makefile @ 1:da98dc08f575

loadagent: beginning to lay the foundation
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 29 Apr 2013 03:21:00 +0000
parents
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