vdigit makefile uses hardwired compile and link flags
|Reported by:||kyngchaos||Owned by:|
The vdigit makefile has some compile and link flags that should be left up to configuration.
CXXFLAGS has "-c -fpic". fpic is fPIC on OSX (fpic is invalid for OSX). -c is handled in the GRASS object make rules.
LDFLAGS has "-shared -fpic". -shared is platform-specific, and is not the correct flag for OSX.
If the GRASS make rules can't be used for vdigit, then at least its compile and link rules should more closely mirror the GRASS default rules to pick up platform configuration values.