From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,43258b2d9f0cc58e X-Google-Attributes: gidfee84,public From: amartin@denton.zko.dec.com (Alan H. Martin) Subject: Re: Dec C++ and make Date: 1996/06/04 Message-ID: <4p251e$p2a@zk2nws.zko.dec.com>#1/1 X-Deja-AN: 158527848 references: organization: DEC newsgroups: comp.unix.osf.osf1 In article beaudrie@oberon.cmc.uab.edu (Ken Beaudrie) writes: > I just ... took over an Alphaserver 2100 running Digital Unix 3.2 ... I've >been selectivly upgrading software. The C++ version was 1.32 so I upgraded to >5.3. Since then I am told that make doesn't understand files with .cpp, .cxx, >.cc, etc. extensions. Doing a "make -p -f /dev/null" shows that, sure enough, >those extensions are not recognized. Should they be? Did I do something wrong >during the install? The 3 ``make''s we ship don't yet know about DEC C++. (It's on our agenda to teach them about it). >Is there something I should do that is not listed in the install document >for C++? Any help would be greatly appreciated. In the meantime, users can add lines like the following to their makefiles, or to a file ``Makeconf'': " CXX = /usr/ucb/cxx CXXFLAGS = $(CFLAGS) .SUFFIXES : .cxx .cxx.o : ; $(CXX) $(CXXFLAGS) -c $< -o $@ .cxx : ; $(CXX) $(LDFLAGS) $(CXXFLAGS) $< $(LOADLIBES) -o $@ " Say ``man make'' for details about placement of Makeconf. Say ``man 1p make'' and ``man 1u make'' for details on the other two ``make''s. Fetch ftp://ftp.digital.com/pub/GNU/make-3.74.tar.gz for the Free Software Foundation's GNU Make. Hope this helps, /AHM -- Alan Howard Martin AMartin@TLE.ENet.DEC.Com