[comp.unix.questions] Makefile pecularity

lwv27@CAS.BITNET (10/09/90)

I am using a Sparcstation 1+ running SunOS 4.1 .

I am finding that when I run a makefile which has an action such as:

cd Dir ; make CFLAGS='-O -DNDEBUG' all

that make thinks that I am passing it a -U flag.  If I, on the other hand,
change the makefile to do :

cd Dir ; CFLAGS='-O -DNDEBUG' make all

things work fine.

Many packages, such as perl, etc. from the net and from vendors, do their
makes in the above fashion - one makefile at the highest level, executing
makes within subdirectories.

Is there something that I am missing here?  Is the SunOS 4.1 make substantially
different than other makes?
--
Larry W. Virden
Business: UUCP: osu-cis!chemabs!lwv27  INET: lwv27%cas.BITNET@CUNYVM.CUNY.Edu
Personal: 674 Falls Place,   Reynoldsburg,OH 43068-1614
Proline: lvirden@pro-tcc.cts.com  America Online: lvirden CIS: [75046,606]