Merge pull request #6 from Phundrak/hotfix/makefile

Use environment variables for CC and PREFIX
This commit is contained in:
fenze 2022-05-14 20:45:51 +02:00 committed by GitHub
commit dfaf7ff111
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
# -*- indent-tabs-mode: t -*-
CC = cc
CC ?= cc
CFLAGS = `pkg-config --cflags gtk4 webkit2gtk-5.0 x11`
LIBS = `pkg-config --libs gtk4 webkit2gtk-5.0 x11`
OPTIONS = -Dgtk_doc=false -Dintrospection=false \
@ -17,7 +17,7 @@ OPTIONS = -Dgtk_doc=false -Dintrospection=false \
-Db_coverage=false \
-Ddebug=false
PREFIX=/usr/local
PREFIX ?= /usr/local
all: config.h rose