Browse Source

If HAVE_SHARED is disabled and libm/TARGET_ARCH does not exist, subdirs does not resolve to anything, not pulling in libm.a target. Add libm.a to all: .

Peter S. Mazinger 20 years ago
parent
commit
ee27949b66
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libm/Makefile

+ 1 - 1
libm/Makefile

@@ -98,7 +98,7 @@ OBJS=$(COBJS) $(FL_MOBJ)
 ifeq ($(strip $(HAVE_SHARED)),y)
 ifeq ($(strip $(HAVE_SHARED)),y)
 all: $(SO_LIB_NAME)
 all: $(SO_LIB_NAME)
 else
 else
-all: subdirs
+all: $(AR_LIB_NAME) subdirs
 endif
 endif
 
 
 $(AR_LIB_NAME): $(OBJS)
 $(AR_LIB_NAME): $(OBJS)