forked from KolibriOS/kolibrios
switch build system to Tup
git-svn-id: svn://kolibrios.org@5098 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
if tup.getconfig('NO_GCC') ~= "" then return end
|
||||
CFLAGS="-D_USE_LIBM_MATH_H -Os -fno-stack-check -fno-stack-protector -mno-stack-arg-probe -fno-ident -fomit-frame-pointer -fno-asynchronous-unwind-tables -mpreferred-stack-boundary=2"
|
||||
OBJS = tup.foreach_rule({"*.c", extra_inputs = {"../../config.h"}},
|
||||
'kos32-gcc -c -I../../include -D__DEV_CONFIG_H=\\"../../config.h\\" ' .. CFLAGS .. ' -o %o %f',
|
||||
"%B.o")
|
||||
OBJS += tup.foreach_rule({"*.s", extra_inputs = {"../../config.h"}},
|
||||
'kos32-cpp -I../../include -D__DEV_CONFIG_H=\\"../../config.h\\" %f | kos32-as -o %o',
|
||||
"%B.o")
|
||||
tup.rule(OBJS, "kos32-ar rcs %o %f", {"../../lib/libm.a", "../../<libm>"})
|
@@ -1,8 +0,0 @@
|
||||
.file "ef_sinh.c"
|
||||
.text
|
||||
.align 4
|
||||
_one:
|
||||
.long 1065353216
|
||||
.align 4
|
||||
_shuge:
|
||||
.long 2096152002
|
@@ -28,6 +28,8 @@ static char rcsid[] = "$Id: k_standard.c,v 1.4 1994/08/10 20:31:44 jtc Exp $";
|
||||
#undef fflush
|
||||
#endif /* !defined(_USE_WRITE) */
|
||||
|
||||
inline int fputs(const char* str, FILE* f) { return -1; }
|
||||
|
||||
#ifdef __STDC__
|
||||
static const double zero = 0.0; /* used as const */
|
||||
#else
|
||||
|
Reference in New Issue
Block a user