diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/loadagent/libnosys/Makefile	Mon Apr 29 03:21:00 2013 +0000
@@ -0,0 +1,16 @@
+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