mirror of
https://github.com/fltk/fltk.git
synced 2026-05-10 05:27:55 +08:00
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
This commit is contained in:
@@ -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 $@
|
||||
|
||||
Reference in New Issue
Block a user