FreeCalypso > hg > freecalypso-sw
view loadagent/libnosys/Makefile @ 3:45bf8af5f061
libprintf brought in from older PPC/m68k code, but fucking GCC
refuses to compile <varargs.h> - need to convert to Anshit C <stdarg.h>
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 29 Apr 2013 07:00:22 +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