summaryrefslogtreecommitdiffstats
path: root/fickle/examples/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fickle/examples/Makefile')
-rwxr-xr-xfickle/examples/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/fickle/examples/Makefile b/fickle/examples/Makefile
new file mode 100755
index 0000000..4a40f68
--- /dev/null
+++ b/fickle/examples/Makefile
@@ -0,0 +1,20 @@
+# $Id: Makefile,v 1.1.1.1 2004/07/23 19:22:41 tang Exp $
+
+# A simple Makefile that calls fickle upon the example specification
+# files.
+
+TCL=/usr/bin/tclsh
+FICKLE=../fickle.tcl
+FCL_EXS=cat.tcl verbs.tcl wc.tcl wc2.tcl cl.tcl csa.tcl tsa.tcl
+
+all: fcl_exs
+
+fcl_exs: $(FCL_EXS)
+
+%.tcl: %.fcl
+ -$(TCL) $(FICKLE) $<
+
+clean:
+ -rm -f $(FCL_EXS:.fcl=.tcl)
+
+.PHONY: clean