diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-12-05 09:30:29 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-12-05 09:30:29 -0800 |
commit | 10e64f0e176cc31540b2c9a0ec9154dfdf1eb8a6 (patch) | |
tree | f2a8c08560967d5e23b4d1972c5318a76424d649 /Makefile | |
parent | b435166dc3555fbaf9f3d52815650cb96b5df27e (diff) | |
download | subsurface-10e64f0e176cc31540b2c9a0ec9154dfdf1eb8a6.tar.gz |
Make it easier to pass macro definitions from make
This small change to the Makefile allows you to call
make CLCFLAGS=-DDEBUG
or some other define directly from the command line. It gets added to the
CFLAGS without overwriting the CFLAGS.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,7 +1,7 @@ VERSION=2.1 CC=gcc -CFLAGS=-Wall -Wno-pointer-sign -g +CFLAGS=-Wall -Wno-pointer-sign -g $(CLCFLAGS) INSTALL=install PKGCONFIG=pkg-config XML2CONFIG=xml2-config |