EXTRA_DIST = spaceball.c vmath.c vmath.h vmath.inl
-
noinst_PROGRAMS = spaceball
spaceball_SOURCES = spaceball.c vmath.c
-spaceball_LDFLAGS = -export-dynamic ../../../src/lib@LIBRARY@.la
-spaceball_CFLAGS = -I$(top_srcdir)/include $(X_CFLAGS)
\ No newline at end of file
+spaceball_LDFLAGS = -export-dynamic
+spaceball_LDADD = ../../../src/lib@LIBRARY@.la $(GL_LIBS) -lm
+spaceball_CFLAGS = -I$(top_srcdir)/include $(X_CFLAGS)