Skip to content

Commit

Permalink
Fix build of test-cpp.cpp to use the proper automake method.
Browse files Browse the repository at this point in the history
  • Loading branch information
fragglet committed Sep 14, 2008
1 parent cb5131a commit 59aed0d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

AM_CFLAGS = $(TEST_CFLAGS) -I../src
AM_CXXFLAGS = $(AM_CFLAGS)
LDADD = $(top_builddir)/src/libcalgtest.a libtestframework.a

if USE_VALGRIND
TESTS_ENVIRONMENT=./valgrind-wrapper
endif
Expand Down Expand Up @@ -27,11 +31,7 @@ libtestframework_a_SOURCES=\
alloc-testing.c alloc-testing.h \
framework.c framework.h

AM_CFLAGS = $(TEST_CFLAGS) -I../src
LDADD = $(top_builddir)/src/libcalgtest.a libtestframework.a
test_cpp_SOURCES = test-cpp.cpp

EXTRA_DIST=valgrind-wrapper

test-cpp: test-cpp.cpp
$(CXX) $(AM_CFLAGS) $^ -o $@ $(LDADD)

0 comments on commit 59aed0d

Please sign in to comment.