🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1531

problem with make 3.44 on sun4-os4

#1531
From: gerry wiener
Date: Fri, 31 Mar 1989 15:45
49 lines
1624 bytes
Here is a problem with make3.44 on sun4-os4.  There are two makefiles,
titled makefile and in a subdirectory sub1, sub1/makefile.  Below gnumake
stands for the obvious.  Make stands for sun make.


hail:tdwr:1>make install
for i in sub1; do (cd $i; make  install); done
echo "this is done"
this is done
hail:tdwr:2>gnumake install
for i in sub1; do (cd $i; make  install); done
make: Fatal error: Unknown option `--'
gnumake: *** Error 1


Here are the files:

#	This is a shell archive.
#	Remove everything above and including the cut line.
#	Then run the rest of the file through sh.
#----cut here-----cut here-----cut here-----cut here----#
#!/bin/sh
# shar:	Shell Archiver
#	Run the following text with /bin/sh to create:
#	makefile
#	sub1
# This archive created: Fri Mar 31 10:41:08 1989
cat << \SHAR_EOF > makefile
# Flags passed down to subdirectory makefiles.
MFLAGS=

# Subdirectories to make recursively.  Make the libraries first!
SUBDIR= sub1

install: FRC
	for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} install); done

FRC:
SHAR_EOF
mkdir sub1
cd sub1
cat << \SHAR_EOF > makefile
install:
	echo "this is done"

SHAR_EOF
cd ..
#	End of shell archive
exit 0
Technical Details
Message-ID: <8903311545.AA02812@toadwar.UCAR.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!rutgers!tut.cis.ohio-state.edu!TOADWAR.UCAR.EDU!gerry

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!rutgers!tut.cis.ohio-state.edu!TOADWAR.UCAR.EDU!gerry
From: gerry@TOADWAR.UCAR.EDU (gerry wiener)
Newsgroups: gnu.utils.bug
Subject: problem with make 3.44 on sun4-os4
Message-ID: <8903311545.AA02812@toadwar.UCAR.EDU>
Date: 31 Mar 89 15:45:47 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 49