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>
This commit is contained in:
Dirk Hohndel 2012-12-05 09:30:29 -08:00
parent b435166dc3
commit 10e64f0e17

View file

@ -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