thegenemyers / DAZZ_DB

The Dazzler Data Base
Other
35 stars 33 forks source link

Honor standard compiler flags by using standard rules for C sources #26

Open 0xaf1f opened 7 years ago

0xaf1f commented 7 years ago

In the Debian package, we use the standard variables for setting compiler/linker flags for hardening and other purposes. Aside from removing much redundancy from your Makefile, this patch makes it honor CPPFLAGS, CFLAGS (while still including the flags you specified), and LDFLAGS.