SRC_LM += mathhelper.c
+#remainder.c seems to crash gcc
+SRC_LM += acos.c acosh.c asin.c asinh.c atan2.c atan.c atanh.c
+SRC_LM += cbrt.c ceil.c copysign.c erf.c exp.c expm1.c
+SRC_LM += fabs.c fdim.c floor.c fmax.c fmin.c fmod.c frexp.c
+SRC_LM += hypot.c j0.c j1.c jn.c
+SRC_LM += ldexp.c lgamma.c lgamma_r.c log.c log2.c log10.c
+SRC_LM += lrint.c lround.c
+SRC_LM += modf.c nearbyint.c pow.c
+SRC_LM += remquo.c rint.c round.c
+SRC_LM += scalbn.c
+SRC_LM += sin.c sincos.c sinh.c
+SRC_LM += sqrt.c tgamma.c
+SRC_LM += __expo2.c __double_bits.c __fpclassify.c __log1p.c
+
+
OBJ_C = $(SRC_C:.c=.o)
OBJ_CURS = $(SRC_CURS:.c=.o)
OBJ_CT = $(SRC_CT:.c=.o)
$(KRN_HEADERS_COPY): $(KRN_HEADERS_SRC)
cp ../../Kernel/include/$(notdir $@) $@
-libc.l:%.l:$(OBJ_ALL)
- ls $(OBJ_ALL) > libc.l
+libc.l:%.l:$(OBJ_C) $(OBJ_ASM) $(OBJ_HARD)
+ ls $(OBJ_C) $(OBJ_ASM) $(OBJ_HARD) > libc.l
syscall.l: fuzix$(PLATFORM)/syslib.l
../tools/syscall_$(PLATFORM)