Changed my mind on the basic syntax; less Haskell, more C.

This commit is contained in:
2011-01-06 23:37:31 -08:00
parent 3f14f02eb3
commit 29a358a76a
6 changed files with 301 additions and 141 deletions

View File

@@ -22,7 +22,7 @@ cmd_ghc_d_hs = $(GHC) $(GHC_FLAGS) -M -dep-makefile $@ $<
quiet_cmd_ghc_d_hs = DEPEND $(notdir $@)
%.d : %.hs
$(call cmd,ghc_d_hs)
@$(SED) -i "s!: hsrc!: $(TOPDIR)/hsrc!g" $@
@$(SED) -i "" "s|: hsrc|: $(TOPDIR)/hsrc|g" $@
# ghc-ld
cmd_ghc_ld = $(GHC) -o $@ $^