]> git.mxchange.org Git - flightgear.git/blobdiff - DEM/Makefile.am
Code reorganizations. Added a Lib/ directory for more general libraries.
[flightgear.git] / DEM / Makefile.am
index d24cc6b3562fbd1b6b5ab414301678916ce2d174..aeb7ecf2c2f107fa6befd9a396e1f420a3fb35ef 100644 (file)
@@ -4,5 +4,10 @@ lib_LTLIBRARIES = libDEM.la
 
 libDEM_la_SOURCES = dem.cxx dem.hxx leastsqs.cxx leastsqs.hxx
 
-INCLUDES += -I../../Simulator
+INCLUDES += -I$(top_builddir) -I$(top_builddir)/Lib
+
+# We can't build this with "-O2" (optimization) since this causes a seg fault
+# I haven't found a way to strip this out of the CXXFLAGS, so I'm just
+# setting it to "-g"
+CXXFLAGS = -g