about summary refs log tree commit diff
path: root/buildtools/make_merge.sh
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/make_merge.sh')
-rwxr-xr-xbuildtools/make_merge.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/buildtools/make_merge.sh b/buildtools/make_merge.sh
new file mode 100755
index 00000000..9043ad05
--- /dev/null
+++ b/buildtools/make_merge.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# This program is called by the make files.  It creates the merge.h
+# file which is included by netpbm.c.
+
+echo "/* File generated by make_merge.sh */"
+echo "/* in directory" `pwd` "*/"
+echo
+
+for MERGE_BINARY in $*; do
+    echo "TRY(\"${MERGE_BINARY}\", main_${MERGE_BINARY});"
+    done