CFLAGS, CPPFLAGS, LDFLAGS ignored
I have supplied environment variables CFLAGS, CPPFLAGS and LDFLAGS when running the configure script, but when subsequently running make (without those variables set) they are ignored. The configure script should record their values somewhere so that the Makefile can use them at build time.
I recorded special values only for CFLAGS and LDDLFLAGS manually in config.inc. LDFLAGS for linking to an EXE is even ignored, only LIBPATH and RPATH is used.
configure was mainly just for bsd support. I agree that the standard CPPFLAGS and LDFLAGS provided at a configure or initial make invocation should be recorded also.
For the time being please edit config.inc