diff --git a/src/libprojectM/Makefile.am b/src/libprojectM/Makefile.am index 12d16cac4..4c7a39bd7 100644 --- a/src/libprojectM/Makefile.am +++ b/src/libprojectM/Makefile.am @@ -8,8 +8,7 @@ AM_CPPFLAGS = \ -include $(top_builddir)/config.h \ -DSYSCONFDIR=\""$(sysconfdir)"\" \ -I$(top_srcdir)/src/libprojectM \ - -I$(top_srcdir)/src/libprojectM/Renderer \ - $(FTGL_CFLAGS) $(CG_CFLAGS) + -I$(top_srcdir)/src/libprojectM/Renderer lib_LTLIBRARIES = libprojectM.la # public, possibly-shared library diff --git a/src/libprojectM/Renderer/Makefile.am b/src/libprojectM/Renderer/Makefile.am index e2b2ba89c..7a181dff0 100644 --- a/src/libprojectM/Renderer/Makefile.am +++ b/src/libprojectM/Renderer/Makefile.am @@ -50,8 +50,7 @@ libRenderer_la_SOURCES = \ libRenderer_la_CPPFLAGS = ${my_CFLAGS} \ -include $(top_builddir)/config.h \ -I$(top_srcdir)/src/libprojectM/Renderer/hlslparser/src \ - -I$(top_srcdir)/src/libprojectM \ - ${FTGL_CFLAGS} ${CG_CFLAGS} + -I$(top_srcdir)/src/libprojectM libRenderer_la_LDFLAGS = \ ${FTGL_LIBS} ${CG_LDFLAGS}