I guess equivalent changes are also needed for the "_D" varieties.
I also added CXXFLAGS because that's where a flag like -stdlib=... is likely to be supplied by the user, and that flag must be used both a compile time and at link time.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Should that override the attempt in the makefile to use the fltk ldflags? Or be appended to it?
I would probably append user-supplied
LDFLAGSafter any existing flags. Here's what I've used:I guess equivalent changes are also needed for the "_D" varieties.
I also added
CXXFLAGSbecause that's where a flag like-stdlib=...is likely to be supplied by the user, and that flag must be used both a compile time and at link time.Fixed as shown above.