aboutsummaryrefslogtreecommitdiff
path: root/toxy/Makefile
diff options
context:
space:
mode:
authorN.N. <krzyszcz@users.sourceforge.net>2004-03-10 10:55:57 +0000
committerN.N. <krzyszcz@users.sourceforge.net>2004-03-10 10:55:57 +0000
commitc7389b6452e3d44d8f8fb9699f06c1b2db1c51ba (patch)
tree0a838b12169ae88f070df5a9c89f636507e4eb47 /toxy/Makefile
parentbc5e203f7787980f65f81ddbf69a619ab34fa85e (diff)
toxy alpha7
svn path=/trunk/externals/miXed/; revision=1402
Diffstat (limited to 'toxy/Makefile')
-rw-r--r--toxy/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/toxy/Makefile b/toxy/Makefile
index a9b675c..44e8206 100644
--- a/toxy/Makefile
+++ b/toxy/Makefile
@@ -1,6 +1,14 @@
ROOT_DIR = ..
-redefault: setup.wiq default
-setup.wiq: $(ROOT_DIR)/test/toxy/setup.wid
+WIQFILE = setup.wiq
+redefault: checkwiq $(WIQFILE) default
+checkwiq:
+ @if [ -f $(WIQFILE) ] && ! [ -s $(WIQFILE) ] ; then \
+ echo ERROR: empty file $(WIQFILE)... removed ; \
+ rm -f $(WIQFILE) ; fi
+$(WIQFILE): $(ROOT_DIR)/test/toxy/$(WIQFILE:.wiq=.wid)
$(ROOT_DIR)/quoteinitializer $< \
'"puts stderr [concat loading built-in widget definitions]\n"' > $@
+ @if [ -f $(WIQFILE) ] && ! [ -s $(WIQFILE) ] ; then \
+ echo ERROR: quoteinitializer failed... $(WIQFILE) removed ; \
+ rm -f $(WIQFILE) ; fi
include $(ROOT_DIR)/Makefile.common