Disable/enable lighting in the "one.c" demo (John Fay)
[freeglut] / progs / demos / One / Makefile.am
index 19787d2..7f5906c 100644 (file)
@@ -1,5 +1,5 @@
 EXTRA_DIST = one.c one.dsp
-bin_PROGRAMS = one
+noinst_PROGRAMS = one
 one_SOURCES = one.c
-one_LDFLAGS = -export-dynamic ../../../src/libglut.la
-one_CFLAGS = -I../../../include $(X_CFLAGS)
+one_LDFLAGS = -export-dynamic ../../../src/lib@LIBRARY@.la
+one_CFLAGS = -I$(top_srcdir)/include $(X_CFLAGS)