summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0428b51..4710acf 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ NAME = getxbook
SRC = getgbook.c getabook.c
LIB = util.o
-GUI = getxbookgui
+GUI = getxbookgui.tcl
DOC = README COPYING INSTALL LEGAL
EXTRAS = extras/mkpdf.sh extras/mkocrpdf.sh
@@ -31,6 +31,13 @@ util.a: $(LIB)
@$(AR) -r -c $@ $(LIB)
@ranlib $@
+getxbookgui.exe: getxbookgui.tcl
+ @echo STARPACK $@
+ @sdx qwrap getxbookgui.tcl
+ @sdx unwrap getxbookgui.kit
+ @sdx wrap $@ -runtime $(TCLKIT)
+ @rm -r getxbookgui.kit getxbookgui.vfs
+
install: all
mkdir -p $(DESTDIR)$(PREFIX)/bin
cp -f $(BIN) $(GUI) $(DESTDIR)$(PREFIX)/bin