X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Ftarget.mk;h=e34948933d4187728772e1fbb4222a25ff5c28c6;hb=8d573292181707f0ba70865d125ad51b461dc8a3;hp=92188257c1eebd50564805237ace2810658a7ed5;hpb=006a18ea83799c0d4255071a2f8c08d3e9c7d84f;p=ghc-hetmet.git diff --git a/mk/target.mk b/mk/target.mk index 9218825..e349489 100644 --- a/mk/target.mk +++ b/mk/target.mk @@ -372,14 +372,14 @@ $(LIBRARY): $(LIBOBJS) $(LIBRARY).o $(LIB_DEPS) DLLTOOL=dlltool $(LIBRARY).def: $(LIBOBJS) - $(DLLTOOL) --output-def $@ --export-all $(LIBOBJS) + $(DLLTOOL) -D $(LIBRARY) --output-def $@ --export-all $(LIBOBJS) $(LIBRARY).o: - $(DLLTOOL) --output-exp $(LIBRARY).o $(LIBOBJS) + $(DLLTOOL) -D $(LIBRARY) --output-exp $(LIBRARY).o $(LIBOBJS) # Generates library.dll.a; by MinGW conventions, this is the dll's import library $(LIBRARY).a: $(LIBOBJS) $(LIBRARY).def - $(DLLTOOL) --def $(LIBRARY).def --output-lib $@ + $(DLLTOOL) -D $(LIBRARY) --def $(LIBRARY).def --output-lib $@ # # Version information is baked into a DLL by having the DLL include DllVersionInfo.o. @@ -596,7 +596,7 @@ maintainer-clean:: extraclean ifneq "$(way)" "" ifeq "$(findstring $(way), $(WAYS))" "" -$(error Unknown way $(way)) +$(error Unknown way $(way) of $(WAYS)) endif endif