Changeset 15022

Show
Ignore:
Timestamp:
27.02.2008 17:18:40 (11 years ago)
Author:
davidb
Message:

Two errors in Makefile corrected. The first was setting "CPP=@CXX@", this of course should be "CXX=@CXX@". The other was more subtle, with gcc being used to do the final linking, even though all the files had been individually compiled with g++. This causes a problem when compiling on the Mac. The link instruction was changed to use $(CXX) not $(CC).

Location:
indexers/trunk/mgpp
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • indexers/trunk/mgpp/Makefile.in

    r13802 r15022  
    2828 
    2929CC = @CC@ 
    30 CPP = @CXX@ 
     30CXX = @CXX@ 
    3131CFLAGS = @CFLAGS@ -ansi 
    3232INSTALL = @INSTALL@ 
  • indexers/trunk/mgpp/text/Makefile.in

    r13714 r15022  
    7373COMPILE = $(CC) -c $(DEFS) $(TREC_MODE) $(READLINE) $(INCLUDES) $(CFLAGS) 
    7474CXXCOMPILE = $(CXX) -c $(DEFS) $(TREC_MODE) $(READLINE) $(INCLUDES) $(CXXFLAGS) 
    75 LINK = $(CC) $(LDFLAGS) -o $@ 
     75LINK = $(CXX) $(LDFLAGS) -o $@ 
    7676 
    7777.SUFFIXES: