test: Fix out-of-tree builds

This commit is contained in:
Kristian Høgsberg 2012-01-30 19:15:04 -05:00
parent a7ef5c85d8
commit becfcbfbd2
1 changed files with 3 additions and 3 deletions

View File

@ -6,10 +6,10 @@ endif
AM_CFLAGS = $(GCC_CFLAGS)
AM_CPPFLAGS = -I../src -DUNIT_TEST $(COMPOSITOR_CFLAGS)
AM_CPPFLAGS = -I$(top_srcdir)/src -DUNIT_TEST $(COMPOSITOR_CFLAGS)
matrix_test_SOURCES = \
matrix-test.c \
../src/matrix.c \
../src/matrix.h
$(top_srcdir)/src/matrix.c \
$(top_srcdir)/src/matrix.h
matrix_test_LDADD = -lm -lrt