[project @ 1996-01-08 20:28:12 by partain]
[ghc-hetmet.git] / ghc / runtime / regex / Jmakefile-original
diff --git a/ghc/runtime/regex/Jmakefile-original b/ghc/runtime/regex/Jmakefile-original
new file mode 100644 (file)
index 0000000..167e692
--- /dev/null
@@ -0,0 +1,30 @@
+all:: /* so it comes first */
+
+/* the standard "whoami" target will give the basic info. */
+/* this target adds to it. */
+whoami::
+       @echo building Haskell regexp bindings
+
+#include "common.jm"
+
+REG_SRC = Regex.lhs    \
+         LibMatchPS.lhs
+
+REG_OBJ = Regex.o      \
+         LibMatchPS.o  \
+         regex.o       
+
+REG_HI  = $(REG_SRC:.lhs=.hi)
+
+HaskellCode(Regex, '-#include "regex.h"')
+HaskellCode(LibMatchPS,)
+
+HaskellLib(libReg,${REG_OBJ} ${REG_HI},)
+
+all::  $(REG_OBJ)
+
+HaskellDependTarget( $(REG_SRC) )
+
+
+
+