Changeset 3934 for trunk/doc


Ignore:
Timestamp:
Jul 10, 2020, 5:04:43 PM (11 months ago)
Author:
Peter
Message:

using default rules in GNU make, libraries such as -lfoo should be passes in variable LDLIBS - not in LDFLAGS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/build_tool.doxygen

    r3792 r3934  
    4545CXXFLAGS+=`yat-config --cxxflags`
    4646LDFLAGS+=`yat-config --ldflags`
    47 LIBS+=`yat-config --libs`
     47LDLIBS+=`yat-config --libs`
    4848
    4949all: $(BIN)
    5050
    5151$(BIN): $(OBJECTS)
    52   $(CXX) $(LDFLAGS) $(OBJECTS) -o $(BIN) $(LIBS)
     52  $(CXX) $(LDFLAGS) $(OBJECTS) -o $(BIN) $(LDLIBS)
    5353
    5454.cc.o:
     
    6464CPPFLAGS = `yat-config --cppflags`
    6565CXXFLAGS = `yat-config --cxxflags`
    66 LDFLAGS = `yat-config --ldflags --libs`
     66LDFLAGS = `yat-config --ldflags`
     67LDLIBS = `yat-config --libs`
    6768
    6869all: foo
Note: See TracChangeset for help on using the changeset viewer.