]> git.tuebingen.mpg.de Git - dss.git/commit
build: Introduce DSS_CPPFLAGS.
authorAndre Noll <maan@tuebingen.mpg.de>
Thu, 13 Jul 2017 17:43:04 +0000 (19:43 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Thu, 13 Jul 2017 20:54:03 +0000 (22:54 +0200)
commit32d58d6a681c6800feb89500f1d3776320c58359
treeca65e0d76ea1be0d6a0bcdb85f0ea7f2747d855b
parentdf63a10b9cbc312f66800da0998b96f024bb3ea3
build: Introduce DSS_CPPFLAGS.

As with CFLAGS, it is good practice to leave CPPFLAGS unset in the
Makefile and append it to the cc command after our own flags, to give
the user a chance to override our settings.

This patch initializes DSS_CPPFLAGS with the VERSION_STRING define
which was part of the receipe and adds -Wunused macros, which is a
preprocessor flag rather than a compiler flag.

DSS_CPPFLAGS and CPPFLAGS are added to the two relevant commands,
in addition to the existing DSS_CFLAGS and CFLAGS.
Makefile