Merge pull request #6 from Phundrak/hotfix/makefile
Use environment variables for CC and PREFIX
This commit is contained in:
commit
dfaf7ff111
4
makefile
4
makefile
|
@ -1,5 +1,5 @@
|
||||||
# -*- indent-tabs-mode: t -*-
|
# -*- indent-tabs-mode: t -*-
|
||||||
CC = cc
|
CC ?= cc
|
||||||
CFLAGS = `pkg-config --cflags gtk4 webkit2gtk-5.0 x11`
|
CFLAGS = `pkg-config --cflags gtk4 webkit2gtk-5.0 x11`
|
||||||
LIBS = `pkg-config --libs gtk4 webkit2gtk-5.0 x11`
|
LIBS = `pkg-config --libs gtk4 webkit2gtk-5.0 x11`
|
||||||
OPTIONS = -Dgtk_doc=false -Dintrospection=false \
|
OPTIONS = -Dgtk_doc=false -Dintrospection=false \
|
||||||
|
@ -17,7 +17,7 @@ OPTIONS = -Dgtk_doc=false -Dintrospection=false \
|
||||||
-Db_coverage=false \
|
-Db_coverage=false \
|
||||||
-Ddebug=false
|
-Ddebug=false
|
||||||
|
|
||||||
PREFIX=/usr/local
|
PREFIX ?= /usr/local
|
||||||
|
|
||||||
all: config.h rose
|
all: config.h rose
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user