view loadagent/libnosys/Makefile @ 9:fea204bc7674

fc-sertool compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 01 May 2013 02:43:17 +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