Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!ucsd!sdcsvax!ucsdhub!hp-sdd!hplabs!hpda!hpcupt1!vitale
From: vitale@hpcupt1.HP.COM (Phil Vitale)
Newsgroups: comp.sys.hp
Subject: Re: problems with make
Message-ID: <7410012@hpcupt1.HP.COM>
Date: 11 May 88 17:19:13 GMT
References: <12407@sri-spam.istc.sri.com>
Organization: Hewlett Packard, Cupertino
Lines: 20

>  the hp9000s350 running 6.01 chokes on the following makefile
>  fragment:
>
>	$(LIBRARY):	$(OBJS)
>			@echo -n "Loading $(LIBRARY) ... "
>			@ar cru $(LIBRARY) $(OBJS)
>			if [ "$(SYS)" != hp ]; then \
>				ranlib $(LIBRARY); \
>			fi
>			@echo "done"

Try inserting the following line at the top of your makefile,
and let us know how it works:

SHELL=/bin/sh

I've tested your fragment on a s800 with this fix, and it seems to do
what was expected.  (Sorry, I do not have access to a s300 at the moment.)

Phil Vitale
vitale%hpperf1@hplabs.HP.COM