X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fsuffix.mk;h=02469fe96c258202c7cba4fae1a83a2781c3615f;hb=0bffad417b3f17666c046be53d14e67c1949a64f;hp=96834fc4b8aa3243a9d28b63159a58f37e5735b1;hpb=351afa5ad7cc7012d5460c126cad4999e457a30d;p=ghc-hetmet.git diff --git a/mk/suffix.mk b/mk/suffix.mk index 96834fc..02469fe 100644 --- a/mk/suffix.mk +++ b/mk/suffix.mk @@ -22,17 +22,6 @@ .DELETE_ON_ERROR: -# However, if $(way) is set then we have to define $(way_) and $(_way) -# from it in the obvious fashion. -# This must be done here (or earlier), but not in target.mk with the other -# way management, because the pattern rules in this file take a snapshot of -# the value of $(way_) and $(_way), and it's no good setting them later! - -ifneq "$(way)" "" - way_ := $(way)_ - _way := _$(way) -endif - #----------------------------------------------------------------------------- # Haskell Suffix Rules @@ -145,7 +134,7 @@ endif .PRECIOUS: %.gc -%.hs : %.gc +%.hs %_stub_ffi.c %_stub_ffi.h : %.gc $(GREENCARD) $(GC_OPTS) $< -o $@ %.lhs : %.gc