mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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:
parent
b435166dc3
commit
10e64f0e17
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue