- fixed watcom build
[dosdemo] / tools / gen_wobj
diff --git a/tools/gen_wobj b/tools/gen_wobj
new file mode 100755 (executable)
index 0000000..a6a5f72
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+# tool to generate object file lists for watcom make
+# run from project root
+
+obj=`find src \( -name '*.c' -o -name '*.asm' \) | xargs basename -a | sort | uniq | sed 's/\(\.c\|\.asm\)$/.obj/g'`
+echo 'obj =' $obj