Makefile pecularity

lwv27 at CAS.BITNET lwv27 at CAS.BITNET
Tue Oct 9 21:16:00 AEST 1990


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 at CUNYVM.CUNY.Edu
Personal: 674 Falls Place,   Reynoldsburg,OH 43068-1614
Proline: lvirden at pro-tcc.cts.com  America Online: lvirden CIS: [75046,606]



More information about the Comp.unix.questions mailing list