FreeCalypso > hg > freecalypso-sw
comparison loadagent/libprintf/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 | |
| children |
comparison
equal
deleted
inserted
replaced
| 2:ddda170fa6f4 | 3:45bf8af5f061 |
|---|---|
| 1 CC= arm-elf-gcc | |
| 2 CFLAGS= -Os -fno-builtin | |
| 3 AR= arm-elf-ar | |
| 4 RANLIB= arm-elf-ranlib | |
| 5 | |
| 6 OBJS= doprnt.o printf.o putchar.o puts.o sprintf.o sprintf_putchar.o \ | |
| 7 vprintf.o vsprintf.o | |
| 8 | |
| 9 all: libprintf.a | |
| 10 | |
| 11 libprintf.a: ${OBJS} | |
| 12 ${AR} cru $@ ${OBJS} | |
| 13 ${RANLIB} $@ | |
| 14 | |
| 15 clean: | |
| 16 rm -f *.[oa] *errs |
