aboutsummaryrefslogtreecommitdiffstats
path: root/ste/example/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ste/example/Makefile')
-rw-r--r--ste/example/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/ste/example/Makefile b/ste/example/Makefile
new file mode 100644
index 0000000..f8a6ef4
--- /dev/null
+++ b/ste/example/Makefile
@@ -0,0 +1,14 @@
+
+.SUFFIXES:
+
+all: main
+
+ste: ../ste.c
+ $(CC) -o $@ $<
+
+%.c: %.c.ste ste
+ ./ste -m OUTPUT $<
+
+main: main.c tmpl.c
+ $(CC) -o $@ $<
+