[project @ 1996-01-08 20:28:12 by partain]
[ghc-hetmet.git] / ghc / runtime / regex / Jmakefile-original
1 all:: /* so it comes first */
2
3 /* the standard "whoami" target will give the basic info. */
4 /* this target adds to it. */
5 whoami::
6         @echo building Haskell regexp bindings
7
8 #include "common.jm"
9
10 REG_SRC = Regex.lhs     \
11           LibMatchPS.lhs
12
13 REG_OBJ = Regex.o       \
14           LibMatchPS.o  \
15           regex.o       
16
17 REG_HI  = $(REG_SRC:.lhs=.hi)
18
19 HaskellCode(Regex, '-#include "regex.h"')
20 HaskellCode(LibMatchPS,)
21
22 HaskellLib(libReg,${REG_OBJ} ${REG_HI},)
23
24 all::   $(REG_OBJ)
25
26 HaskellDependTarget( $(REG_SRC) )
27
28
29
30