aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 642376f..9780154 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,11 @@
INTERFACE?=GTK
+PREFIX?=/usr/local
GOB2:=gob2
CC:=gcc
CXX:=g++
+INSTALL:=install
GLIB_CFLAGS:=$(shell pkg-config --cflags glib-2.0)
GLIB_LDFLAGS:=$(shell pkg-config --libs glib-2.0)
@@ -53,6 +55,9 @@ endif
%.c %.h %-private.h : %.gob
$(GOB2) $<
+install: all
+ $(INSTALL) sciteco $(PREFIX)/bin
+
clean:
$(RM) sciteco *.o *.a
$(RM) gtk-info-popup*.[ch]