From 4be59c3e030d6db8d51637d341ab40d7b8a90d5f Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Tue, 18 Oct 2005 10:42:05 +0000 Subject: [PATCH] Restore -lm --- lib/dummy/Makefile | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) 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.? -- 2.44.0