diff options
author | NunoSempere <nuno.sempere@protonmail.com> | 2023-07-27 14:34:16 +0200 |
---|---|---|
committer | NunoSempere <nuno.sempere@protonmail.com> | 2023-07-27 14:34:16 +0200 |
commit | b87693e4c57f36e528a9d6f46febcac32c90b808 (patch) | |
tree | cf2cd5d52085def93d1c40de5cf79e8b9e05b527 /makefile | |
parent | e2c81f25957ea542f430132c9c96033ff77cfede (diff) |
use -O3 -Wall gcc flags, add old.reddit.com css
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |