diff options
| author | Greg Ercolano <erco@seriss.com> | 2022-01-16 15:22:16 -0800 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2022-01-16 15:22:16 -0800 |
| commit | 6546814a23ac8653916ca9a5e97f2110889ade3d (patch) | |
| tree | 5d702fd7841f3e60c2383d7a67dc3e8ff1e78567 /examples/Makefile.FLTK | |
| parent | 4041608e9487bb59e14593c52aca91054ff79cdf (diff) | |
For issue #358 - adds examples/cairo-draw-x.cxx
Since this is the first cairo example in the examples directory,
it necessarily involved changes to the Makefile and to fltk-config
to properly handle the absence/existance of the cairo libs.
TBD: Add docs to the cario widget describing coordinate system
and how it differs from the default cairo normalized coordinate system.
Diffstat (limited to 'examples/Makefile.FLTK')
| -rw-r--r-- | examples/Makefile.FLTK | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/examples/Makefile.FLTK b/examples/Makefile.FLTK index 52b72993a..902797c59 100644 --- a/examples/Makefile.FLTK +++ b/examples/Makefile.FLTK @@ -16,13 +16,15 @@ ifeq '$(OS)' "Windows_NT" EXEEXT = .exe endif -FLTKCONFIG = ../fltk-config -CXX = $(shell $(FLTKCONFIG) --cxx) -CXXFLAGS = $(shell $(FLTKCONFIG) --cxxflags) -Wall -I. -LINKFLTK = $(shell $(FLTKCONFIG) --ldstaticflags) -LINKFLTK_GL = $(shell $(FLTKCONFIG) --use-gl --ldstaticflags) -LINKFLTK_IMG = $(shell $(FLTKCONFIG) --use-images --ldstaticflags) -LINKFLTK_ALL = $(shell $(FLTKCONFIG) --use-images --use-gl --ldstaticflags) +FLTKCONFIG = ../fltk-config +CXX = $(shell $(FLTKCONFIG) --cxx) +CXXFLAGS = $(shell $(FLTKCONFIG) --cxxflags) -Wall -I. +LINKFLTK = $(shell $(FLTKCONFIG) --ldstaticflags) +LINKFLTK_GL = $(shell $(FLTKCONFIG) --use-gl --ldstaticflags) +LINKFLTK_IMG = $(shell $(FLTKCONFIG) --use-images --ldstaticflags) +LINKFLTK_ALL = $(shell $(FLTKCONFIG) --use-images --use-gl --ldstaticflags) +CXXFLAGS_CAIRO = $(shell $(FLTKCONFIG) --use-cairo --cxxflags) +LINKFLTK_CAIRO = $(shell $(FLTKCONFIG) --use-cairo --ldstaticflags) .SUFFIXES: .cxx .h .fl .o $(EXEEXT) # HOW TO COMPILE |
