diff options
author | Josh Triplett <josh@freedesktop.org> | 2007-09-15 09:37:58 -0700 |
---|---|---|
committer | Josh Triplett <josh@freedesktop.org> | 2007-09-15 09:44:02 -0700 |
commit | 401bd51e449403e1bc45fce692f69af0fe28bb2d (patch) | |
tree | a179b130a24e28376a001c29cf78ba900f1e49b0 /Makefile | |
parent | Add test-suite annotations to noderef.c (diff) | |
download | sparse-401bd51e449403e1bc45fce692f69af0fe28bb2d.tar.gz sparse-401bd51e449403e1bc45fce692f69af0fe28bb2d.tar.bz2 sparse-401bd51e449403e1bc45fce692f69af0fe28bb2d.zip |
Makefile: Use ?= to allow overriding OS or AR on the Make command line
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,12 +1,12 @@ VERSION=0.3 -OS=linux +OS ?= linux CC ?= gcc CFLAGS ?= -O2 -finline-functions -fno-strict-aliasing -g CFLAGS += -Wall -Wwrite-strings LDFLAGS ?= -g -AR=ar +AR ?= ar HAVE_LIBXML=$(shell pkg-config --exists libxml-2.0 && echo 'yes') |