diff --git a/makefile b/makefile index 9c3aed4..e13e331 100644 --- a/makefile +++ b/makefile @@ -1,4 +1,5 @@ -CC = cc +# -*- indent-tabs-mode: t -*- +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 \ @@ -16,7 +17,7 @@ OPTIONS = -Dgtk_doc=false -Dintrospection=false \ -Db_coverage=false \ -Ddebug=false -PREFIX=/usr/local +PREFIX ?= /usr/local all: $(CC) -fPIC -O3 -o rose *.c $(CFLAGS) $(LIBS) $(OPTIONS)