From b87693e4c57f36e528a9d6f46febcac32c90b808 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Thu, 27 Jul 2023 14:34:16 +0200 Subject: use -O3 -Wall gcc flags, add old.reddit.com css --- makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'makefile') diff --git a/makefile b/makefile index 43f8eb5..329f3f9 100644 --- a/makefile +++ b/makefile @@ -7,6 +7,8 @@ ## C compiler CC=gcc # gcc: more options. Also I don't know whether tcc has error messages/debug options. +WARNINGS=-Wall +OPTIMIZED=-O3 #-Ofast ## CC=tcc # tcc: much faster ## Main file @@ -68,7 +70,7 @@ build: $(SRC) $(PLUGS) $(CONFIG) sed -i "s|$(DEFAULT_DIR)|$(CURRENT_DIR)|g" {} + # Compile rosenrot GIO_MODULE_DIR=/usr/lib/x86_64-linux-gnu/gio/modules/ - $(CC) $(DEBUG) $(INCS) $(PLUGS) $(SRC) -o rose $(LIBS) $(ADBLOCK) + $(CC) $(WARNINGS) $(OPTIMIZED) $(DEBUG) $(INCS) $(PLUGS) $(SRC) -o rose $(LIBS) $(ADBLOCK) inspect: build GTK_DEBUG=interactive ./rose -- cgit v1.2.3