# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
-# See http://www.salome-platform.org/
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
# File : Makefile.in
# Author :
LIB_SERVER_IDL =
# additionnal information to compil and link file
-CPPFLAGS += $(OCC_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-CXXFLAGS += $(OCC_CXXFLAGS) -I${KERNEL_ROOT_DIR}/include/salome
-
-ifeq ($(F77),gfortran)
-LDFLAGS += -lgfortran
-else
-LDFLAGS += -lg2c
-endif
+CPPFLAGS += $(OCC_INCLUDES) $(KERNEL_CXXFLAGS) @PLATFORM_INCLUDES@
+CXXFLAGS += $(OCC_CXXFLAGS) $(KERNEL_CXXFLAGS) @PLATFORM_INCLUDES@
+
+LDFLAGS += $(FCLIBS)
@CONCLUDE@