[project @ 1996-11-15 17:29:21 by sof]
[ghc-hetmet.git] / ghc / mkworld / suffixes-ghc.jm
1 #if 0
2 %************************************************************************
3 %*                                                                      *
4 \section[mkworld-suffix-ghc]{Suffix rules for @ghc@ project}
5 %*                                                                      *
6 %************************************************************************
7
8 The \tr{ghc} project tends to ask for specific suffix rules on
9 a per-directory basis.
10
11 \begin{code}
12 #endif /* 0 */
13 #ifndef SuffixRules_WantStdOnes
14 #define SuffixRules_WantStdOnes NO
15 #endif
16
17 #ifndef UnlitSuffixRule
18 #define UnlitSuffixRule(beforesuff,aftersuff)           @@\
19 CAT2(beforesuff,aftersuff):                             @@\
20         $(RM) $@                                        @@\
21         $(GHC_UNLIT) $<  $@ || ( $(RM) $@ && exit 1 )   @@\
22         @chmod 444 $@
23 #endif /* UnlitSuffixRule */
24
25 #if 0
26 \end{code}
27 #endif /* 0 */