scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

commit 1ef01b62fa5d1651c190dd95fb9806830cb92d4f
parent 649b1f8cf5bfe6ad18363c09c524fcc91d9a869a
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed,  6 Dec 2017 22:55:54 +0100

[lib/c] Change order of objects in the Makefile

This make easier to link without having an index in the
library.

Diffstat:
Mlib/c/src/Makefile | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/lib/c/src/Makefile b/lib/c/src/Makefile @@ -2,18 +2,18 @@ include ../../../config.mk -OBJ = assert.o strcpy.o strcmp.o strlen.o strchr.o \ +OBJ = bsearch.o \ + printf.o fprintf.o vfprintf.o \ + fgets.o gets.of fgetc.o fputc.o getchar.o putchar.o \ + fputs.o puts.o fread.o fwrite.o \ + realloc.o calloc.o malloc.o \ + assert.o strcpy.o strcmp.o strlen.o strchr.o \ strrchr.o strcat.o strncmp.o strncpy.o strncat.o strcoll.o \ strxfrm.o strstr.o strspn.o strcspn.o strpbrk.o strtok.o \ memset.o memcpy.o memmove.o memcmp.o memchr.o \ isalnum.o isalpha.o isascii.o isblank.o iscntrl.o isdigit.o \ isgraph.o islower.o isprint.o ispunct.o isspace.o isupper.o \ isxdigit.o toupper.o tolower.o ctype.o setlocale.o \ - bsearch.o \ - printf.o fprintf.o vfprintf.o \ - fgets.o gets.of fgetc.o fputc.o getchar.o putchar.o \ - fputs.o puts.o fread.o fwrite.o \ - realloc.o calloc.o malloc.o \ localeconv.o atoi.o atol.o atoll.o atexit.o abort.o exit.o all: $(ARCH)-libc.a