From: Ben Gras Date: Tue, 18 Oct 2005 10:42:05 +0000 (+0000) Subject: Restore -lm X-Git-Tag: v3.1.2a~614 X-Git-Url: http://zhaoyanbai.com/repos/pkcs11-list.html?a=commitdiff_plain;h=4be59c3e030d6db8d51637d341ab40d7b8a90d5f;p=minix.git Restore -lm --- diff --git a/lib/dummy/Makefile b/lib/dummy/Makefile index e5f1e9cab..37511b85f 100755 --- a/lib/dummy/Makefile +++ b/lib/dummy/Makefile @@ -13,16 +13,10 @@ # echo "int __dummy__;" > $@ # -# Makefile for lib/dummy. +all: ../libm.a -# Make a dummy libm library so that -lm works. - - -LIBRARIES=libm - -libm_OBJECTS=dummy.o - -include ../Makefile.inc - -dummy.c: - echo "int __dummy__;" > $@ +../libm.a: + echo "int __dummy__;" >dummy.c + $(CC) -c dummy.c + aal cr $@ dummy.o + rm dummy.?