FreeCalypso > hg > freecalypso-tools
annotate target-utils/libc/Makefile @ 880:5b68ba735e98
fc-meltest-pwt: allow optional play volume argument
| author | Mychaela Falconia <falcon@freecalypso.org> | 
|---|---|
| date | Sat, 02 Apr 2022 21:52:29 +0000 | 
| parents | d8d03dafb9c0 | 
| children | 
| rev | line source | 
|---|---|
| 87 
7fb62fc724dc
target-utils/libc: beginning of newlib-ectomy
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 1 CC= arm-elf-gcc | 
| 
7fb62fc724dc
target-utils/libc: beginning of newlib-ectomy
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 2 CFLAGS= -Os -fno-builtin | 
| 
7fb62fc724dc
target-utils/libc: beginning of newlib-ectomy
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 3 CPPFLAGS=-I../include | 
| 
7fb62fc724dc
target-utils/libc: beginning of newlib-ectomy
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 4 AR= arm-elf-ar | 
| 
7fb62fc724dc
target-utils/libc: beginning of newlib-ectomy
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 5 RANLIB= arm-elf-ranlib | 
| 
7fb62fc724dc
target-utils/libc: beginning of newlib-ectomy
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 6 | 
| 93 
a675cec34076
target-utils/libc: assembly implementation of bcmp/memcmp
 Mychaela Falconia <falcon@freecalypso.org> parents: 
91diff
changeset | 7 OBJS= atoi.o bzero.o ctype_.o index.o memcmp.o memcpy.o memcpy16.o memcpy32.o\ | 
| 95 
3670e7768ab6
target-utils/libc: strlen optimized assembly implementation added
 Mychaela Falconia <falcon@freecalypso.org> parents: 
93diff
changeset | 8 memset.o rindex.o strcasecmp.o strcat.o strcmp.o strcpy.o strlen.o \ | 
| 96 
d8d03dafb9c0
target-utils/libc: strtol and strtoul added from 4.4BSD with simplification
 Mychaela Falconia <falcon@freecalypso.org> parents: 
95diff
changeset | 9 strncat.o strncmp.o strncpy.o strtol.o strtoul.o | 
| 87 
7fb62fc724dc
target-utils/libc: beginning of newlib-ectomy
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 10 | 
| 
7fb62fc724dc
target-utils/libc: beginning of newlib-ectomy
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 11 all: libc.a | 
| 
7fb62fc724dc
target-utils/libc: beginning of newlib-ectomy
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 12 | 
| 
7fb62fc724dc
target-utils/libc: beginning of newlib-ectomy
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 13 libc.a: ${OBJS} | 
| 
7fb62fc724dc
target-utils/libc: beginning of newlib-ectomy
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 14 ${AR} cru $@ ${OBJS} | 
| 
7fb62fc724dc
target-utils/libc: beginning of newlib-ectomy
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 15 ${RANLIB} $@ | 
| 
7fb62fc724dc
target-utils/libc: beginning of newlib-ectomy
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 16 | 
| 
7fb62fc724dc
target-utils/libc: beginning of newlib-ectomy
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 17 clean: | 
| 
7fb62fc724dc
target-utils/libc: beginning of newlib-ectomy
 Mychaela Falconia <falcon@freecalypso.org> parents: diff
changeset | 18 rm -f *.[oa] *errs | 
