]> git.mxchange.org Git - flightgear.git/blobdiff - DEM/Makefile.am
Use c++ streams (fg_gzifstream). Also converted many character arrays to
[flightgear.git] / DEM / Makefile.am
index d24cc6b3562fbd1b6b5ab414301678916ce2d174..ec72f2e384fd2da482073b52ed437bb405adc721 100644 (file)
@@ -1,8 +1,11 @@
-libdir  = ${exec_prefix}/lib
+noinst_LIBRARIES = libDEM.a
 
-lib_LTLIBRARIES = libDEM.la
+libDEM_a_SOURCES = dem.cxx dem.hxx leastsqs.cxx leastsqs.hxx
 
-libDEM_la_SOURCES = dem.cxx dem.hxx leastsqs.cxx leastsqs.hxx
+INCLUDES += -I$(top_builddir) -I$(top_builddir)/Lib
 
-INCLUDES += -I../../Simulator
+# 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