Changeset 3107


Ignore:
Timestamp:
Nov 4, 2013, 1:56:25 AM (10 years ago)
Author:
Peter
Message:

avoid default make rule in test because it might be problamtic with static libs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/yat_pc_test.sh

    r3036 r3107  
    6060LDFLAGS = -L$abs_top_builddir/yat/.libs `pkg-config yat --libs --static`
    6161all: prog
     62
     63# Default make rule is problematic with static libs
     64prog.o: prog.cc
     65  \$(CXX) -c -o \$@ \$< \$(CPPFLAGS) \$(CXXFLAGS)
     66prog: prog.o
     67  \$(CXX) -o \$@ \$< \$(CXXFLAGS) \$(LDFLAGS)
    6268EOF
    6369
Note: See TracChangeset for help on using the changeset viewer.