diff --git a/src/Makefile.am b/src/Makefile.am
index 6467a5d93411ff053263febc1611bce1eab6f9f3..3101380e6abacbf89e012dae347cd7276df265dd 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -7,6 +7,7 @@ common_sources = \
 	enumparser.cc \
 	fixedpointiterator.cc \
 	friction_writer.cc \
+	sand-wedge-data/mygeometry.cc \
 	sand-wedge-data/mygrid.cc \
 	solverfactory.cc \
 	state.cc \
diff --git a/src/sand-wedge.cc b/src/sand-wedge.cc
index 2b39dbdffff833193609411c321a9696620a1967..20406ca4199e9d7df55534bed6453f1702a345cf 100644
--- a/src/sand-wedge.cc
+++ b/src/sand-wedge.cc
@@ -75,7 +75,6 @@
 #include "friction_writer.hh"
 #include "sand-wedge-data/mybody.hh"
 #include "sand-wedge-data/mygeometry.hh"
-#include "sand-wedge-data/mygeometry.cc" // FIXME
 #include "sand-wedge-data/myglobalfrictiondata.hh"
 #include "sand-wedge-data/mygrid.hh"
 #include "sand-wedge-data/special_writer.hh"