aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/makefile b/makefile
index dfb788d..be310c6 100644
--- a/makefile
+++ b/makefile
@@ -6,7 +6,8 @@
# make uninstall
## C compiler
-CC=gcc # tcc: much faster, gcc: more options. Also I don't know whether tcc has error messages/debug options.
+CC=gcc # gcc: more options. Also I don't know whether tcc has error messages/debug options.
+## CC=tcc # tcc: much faster
## Main file
SRC=rose.c
@@ -68,6 +69,9 @@ build: $(SRC) $(PLUGS) $(CONFIG)
GIO_MODULE_DIR=/usr/lib/x86_64-linux-gnu/gio/modules/
$(CC) $(DEBUG) $(INCS) $(PLUGS) $(SRC) -o rose $(LIBS) $(ADBLOCK)
+inspect: build
+ GTK_DEBUG=interactive ./rose
+
install: rose
GIO_MODULE_DIR=/usr/lib/x86_64-linux-gnu/gio/modules/
cp -f rose /usr/bin