]> git.mxchange.org Git - simgear.git/blobdiff - simgear/serial/Makefile.am
Patch from Melchior Franz:
[simgear.git] / simgear / serial / Makefile.am
index 8e339db60fb41b1addf2471c6d29d6fc052897cd..7536cce8b65834ad9412eee43cb5e2407f7553f8 100644 (file)
@@ -11,7 +11,11 @@ libsgserial_a_SOURCES = serial.cxx
 testserial_SOURCES = testserial.cxx
 
 testserial_LDADD = \
-       $(top_srcdir)/simgear/serial/libsgserial.a \
-       $(top_srcdir)/simgear/debug/libsgdebug.a
+       $(top_builddir)/simgear/serial/libsgserial.a \
+       $(top_builddir)/simgear/debug/libsgdebug.a
 
+if OLD_AUTOMAKE
 INCLUDES += -I$(top_srcdir)
+else
+INCLUDES = -I$(top_srcdir)
+endif