summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2017-12-29 18:47:28 +0000
committerGreg Ercolano <erco@seriss.com>2017-12-29 18:47:28 +0000
commita7a4098644444e4b6fb1b9cc52cd9087a42d2b19 (patch)
tree64056f58edd0aba1d957d847d385c0439559bcbd
parent2d7a670e2864379c57784f1d2e1f48b2a7090220 (diff)
Remove the requirement for opengl in fltk-config.
opengl apps were left out of the targets list on purpose so that only non-opengl apps would build. TODO: Determine a way to detect the presence of fltk opengl libs from within the Makefile using only fltk-config, so as to conditionally build the opengl examples. Do NOT use fltk's own build system (../makeinclude or cmake) to determine this, so the Makefiles will work as user examples. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12616 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--examples/Makefile.FLTK2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Makefile.FLTK b/examples/Makefile.FLTK
index e8d572069..5fe833657 100644
--- a/examples/Makefile.FLTK
+++ b/examples/Makefile.FLTK
@@ -32,4 +32,4 @@ LINKFLTK_ALL = $(shell $(FLTKCONFIG) --use-images --use-gl --ldstaticflags)
# HOW TO LINK
.o$(EXEEXT):
@echo "*** Linking $@..."
- $(CXX) $< $(LINKFLTK_ALL) -o $@
+ $(CXX) $< $(LINKFLTK) $(LINKFLTK_IMG) -o $@