Splitting the X11-specific code from "freeglut_init.c" into its own file
[freeglut] / progs / demos / spaceball / Makefile.am
index 10b628c..13663fc 100644 (file)
@@ -1,6 +1,6 @@
 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)