summaryrefslogtreecommitdiffstats
path: root/ecpg.mk
diff options
context:
space:
mode:
Diffstat (limited to 'ecpg.mk')
-rw-r--r--ecpg.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/ecpg.mk b/ecpg.mk
new file mode 100644
index 0000000..3e6ead7
--- /dev/null
+++ b/ecpg.mk
@@ -0,0 +1,8 @@
+# -*- Makefile -*-
+# ecpg.mk
+
+SUFFIXES = .@EMBEDDEDSQLEXT@ .@EMBEDDEDSQLOUT@
+
+.@EMBEDDEDSQLEXT@.@EMBEDDEDSQLOUT@:
+ set -x; cwd="$$PWD"; \
+ cd "$$(dirname "$<")" && $(EMBEDDEDSQLPRECOMPILER) -o "$$cwd/$@" "$$(basename "$<")"