diff --git a/winbuild/MakefileBuild.vc b/winbuild/MakefileBuild.vc index 5e8b39253..1f6701048 100644 --- a/winbuild/MakefileBuild.vc +++ b/winbuild/MakefileBuild.vc @@ -5,7 +5,7 @@ # | (__| |_| | _ <| |___ # \___|\___/|_| \_\_____| # -# Copyright (C) 1999 - 2012, Daniel Stenberg, , et al. +# Copyright (C) 1999 - 2013, Daniel Stenberg, , et al. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms @@ -374,8 +374,13 @@ clean: !include CURL_OBJS.inc !include LIBCURL_OBJS.inc +!IF "$(AS_DLL)" == "true" +LIB_OBJS = $(LIBCURL_OBJS) $(RESOURCE) +!ELSE LIB_OBJS = $(LIBCURL_OBJS) -EXE_OBJS = $(CURL_OBJS) +!ENDIF + +EXE_OBJS = $(CURL_OBJS) $(CURL_DIROBJ)\curl.res all : $(TARGET) $(PROGRAM_NAME)