[project @ 2001-01-04 16:22:55 by simonmar]
[ghc-hetmet.git] / mk / suffix.mk
index 3f85bd2..e954345 100644 (file)
@@ -99,6 +99,15 @@ endif
 %.hs : %.ly
        $(HAPPY) $(HAPPY_OPTS) $<
 
+%.hs : %.y
+       $(HAPPY) $(HAPPY_OPTS) $<
+
+#-----------------------------------------------------------------------------
+# hsc2hs Suffix Rules
+#
+%.hs.c %.hs.h %.hs : %.hsc
+       $(HSC2HS) $<
+
 #-----------------------------------------------------------------------------
 # Lx Suffix Rules
 #