aboutsummaryrefslogtreecommitdiff
path: root/pkg/bench/xctest/mkpkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/bench/xctest/mkpkg')
-rw-r--r--pkg/bench/xctest/mkpkg25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkg/bench/xctest/mkpkg b/pkg/bench/xctest/mkpkg
new file mode 100644
index 00000000..87b4c792
--- /dev/null
+++ b/pkg/bench/xctest/mkpkg
@@ -0,0 +1,25 @@
+# Make the LISTS package
+
+$call relink
+$exit
+
+relink:
+ $set LIBS = "-lxtools"
+
+ $update libpkg.a
+ $omake x_lists.x
+ $link x_lists.o libpkg.a $(LIBS)
+ ;
+
+clean:
+ $delete libpkg.a x_lists.o x_lists.e
+ ;
+
+libpkg.a:
+ table.x <ctype.h>
+ words.x
+ tokens.x <ctotok.h>
+ unique.x
+ lintran.x <pattern.h> <ctype.h>
+ columns.x <ctype.h> <chars.h> <error.h>
+ ;