Ignore:
Timestamp:
2008-02-27T17:18:40+13:00 (16 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).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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:
Note: See TracChangeset for help on using the changeset viewer.