- text.c variable.c glkscreen.c glkmisc.c frotz.h glkfrotz.h glkio.h setup.h
-frotz_la_CPPFLAGS = -I$(top_srcdir)
-frotz_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
+ text.c variable.c glkscreen.c glkmisc.c frotz.h glkfrotz.h glkio.h
+frotz_la_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/libchimara
+frotz_la_CFLAGS = -Wno-pointer-sign $(AM_CFLAGS)
+frotz_la_LDFLAGS = -module $(PLUGIN_LIBTOOL_FLAGS)