mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-06-10 03:29:29 +00:00
- move optimization directives from the source files to the makefile
- have the default makefile target update ../libc
This commit is contained in:
parent
997c35962d
commit
228ac9913d
|
@ -3,14 +3,16 @@
|
|||
#
|
||||
# Devin Reade, 1997
|
||||
#
|
||||
# $Id: Makefile,v 1.2 1997/09/05 06:33:22 gdr Exp $
|
||||
# $Id: Makefile,v 1.3 1997/09/21 06:23:07 gdr Exp $
|
||||
#
|
||||
|
||||
.INCLUDE: ../../../paths.mk
|
||||
.INCLUDE: ../../const.mk
|
||||
|
||||
OBJS = case.o str.o strerror.o
|
||||
CFLAGS += -O78
|
||||
|
||||
default: $(OBJS)
|
||||
build: ../libc
|
||||
obj: $(OBJS)
|
||||
|
||||
.INCLUDE: ../rules.mk
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* Implementation by Devin Reade
|
||||
*
|
||||
* $Id: case.c,v 1.1 1997/02/28 05:12:50 gdr Exp $
|
||||
* $Id: case.c,v 1.2 1997/09/21 06:23:07 gdr Exp $
|
||||
*
|
||||
* This file is formatted with tab stops every 8 columns.
|
||||
*/
|
||||
|
@ -10,10 +10,6 @@
|
|||
segment "libc_str__";
|
||||
#endif
|
||||
|
||||
#pragma optimize 0
|
||||
#pragma debug 0
|
||||
#pragma memorymodel 0
|
||||
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
|
@ -67,4 +63,3 @@ short
|
|||
strincmp (const char *s1, const char *s2, unsigned n) {
|
||||
return strncasecmp(s1, s2, n);
|
||||
}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* Various string routines not available in OrcaLib. For an explanation
|
||||
* of these functions, see the appropriate man page.
|
||||
*
|
||||
* $Id: str.c,v 1.1 1997/02/28 05:12:50 gdr Exp $
|
||||
* $Id: str.c,v 1.2 1997/09/21 06:23:08 gdr Exp $
|
||||
*
|
||||
* This file is formatted with tabs in every 8 columns.
|
||||
*/
|
||||
|
@ -13,10 +13,6 @@
|
|||
segment "libc_str__";
|
||||
#endif
|
||||
|
||||
#pragma optimize 0
|
||||
#pragma debug 0
|
||||
#pragma memorymodel 0
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* Implementation by Devin Reade.
|
||||
*
|
||||
* $Id: strerror.c,v 1.1 1997/09/05 06:33:22 gdr Exp $
|
||||
* $Id: strerror.c,v 1.2 1997/09/21 06:23:08 gdr Exp $
|
||||
*
|
||||
* This file is formatted with tab stops every 8 columns.
|
||||
*/
|
||||
|
@ -10,11 +10,6 @@
|
|||
segment "libc_str__";
|
||||
#endif
|
||||
|
||||
#pragma databank 1
|
||||
#pragma optimize 0
|
||||
#pragma debug 0
|
||||
#pragma memorymodel 0
|
||||
|
||||
#include <sys/errno.h> /* for ELAST */
|
||||
#include <stdio.h> /* for remainder */
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user