mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
silent stupid 'del' message when no files to delete found;
added curl.res to clean target.
This commit is contained in:
parent
7b9435890d
commit
ea3f63281c
@ -1,8 +1,8 @@
|
|||||||
#########################################################################
|
#########################################################################
|
||||||
# $Id$
|
# $Id$
|
||||||
#
|
#
|
||||||
## Makefile for building libcurl.a with MingW32 (GCC-3.2) and
|
## Makefile for building libcurl.a with MingW32 (GCC-3.2)
|
||||||
## optionally OpenSSL (0.9.8), libssh2 (0.17), zlib (1.2.3)
|
## and optionally OpenSSL (0.9.8), libssh2 (0.18), zlib (1.2.3)
|
||||||
##
|
##
|
||||||
## Usage:
|
## Usage:
|
||||||
## mingw32-make -f Makefile.m32 [SSL=1] [SSH2=1] [ZLIB=1] [SSPI=1] [IPV6=1] [DYN=1]
|
## mingw32-make -f Makefile.m32 [SSL=1] [SSH2=1] [ZLIB=1] [SSPI=1] [IPV6=1] [DYN=1]
|
||||||
@ -41,7 +41,7 @@ LDFLAGS = -s
|
|||||||
RANLIB = ranlib
|
RANLIB = ranlib
|
||||||
RC = windres
|
RC = windres
|
||||||
RCFLAGS = --include-dir=../include -DCURLDEBUG=0 -O COFF -i
|
RCFLAGS = --include-dir=../include -DCURLDEBUG=0 -O COFF -i
|
||||||
RM = del /q /f
|
RM = del /q /f > NUL 2>&1
|
||||||
STRIP = strip -g
|
STRIP = strip -g
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#########################################################################
|
#########################################################################
|
||||||
# $Id$
|
# $Id$
|
||||||
#
|
#
|
||||||
## Makefile for building curl.exe with MingW32 (GCC-3.2) and
|
## Makefile for building curl.exe with MingW32 (GCC-3.2)
|
||||||
## optionally OpenSSL (0.9.8), libssh2 (0.17), zlib (1.2.3)
|
## and optionally OpenSSL (0.9.8), libssh2 (0.18), zlib (1.2.3)
|
||||||
##
|
##
|
||||||
## Usage:
|
## Usage:
|
||||||
## mingw32-make -f Makefile.m32 [SSL=1] [SSH2=1] [ZLIB=1] [SSPI=1] [IPV6=1] [DYN=1]
|
## mingw32-make -f Makefile.m32 [SSL=1] [SSH2=1] [ZLIB=1] [SSPI=1] [IPV6=1] [DYN=1]
|
||||||
@ -40,7 +40,7 @@ CFLAGS = -g -O2
|
|||||||
LDFLAGS = -s
|
LDFLAGS = -s
|
||||||
RC = windres
|
RC = windres
|
||||||
RCFLAGS = --include-dir=../include -O COFF -i
|
RCFLAGS = --include-dir=../include -O COFF -i
|
||||||
RM = del /q /f
|
RM = del /q /f > NUL 2>&1
|
||||||
CP = copy
|
CP = copy
|
||||||
|
|
||||||
# We may need these someday
|
# We may need these someday
|
||||||
@ -114,11 +114,13 @@ curl_OBJECTS := $(patsubst %.c,%.o,$(strip $(CURL_SOURCES)))
|
|||||||
# curlx_OBJECTS := $(patsubst %.c,%.o,$(notdir $(strip $(CURLX_ONES))))
|
# curlx_OBJECTS := $(patsubst %.c,%.o,$(notdir $(strip $(CURLX_ONES))))
|
||||||
# vpath %.c ../lib
|
# vpath %.c ../lib
|
||||||
|
|
||||||
|
RESOURCE = curl.res
|
||||||
|
|
||||||
.SUFFIXES: .rc .res
|
.SUFFIXES: .rc .res
|
||||||
|
|
||||||
all: curl.exe
|
all: curl.exe
|
||||||
|
|
||||||
curl.exe: curl.res $(curl_OBJECTS) $(curl_DEPENDENCIES)
|
curl.exe: $(RESOURCE) $(curl_OBJECTS) $(curl_DEPENDENCIES)
|
||||||
-$(RM) $@
|
-$(RM) $@
|
||||||
$(LINK) $< $(curl_OBJECTS) $(curl_LDADD)
|
$(LINK) $< $(curl_OBJECTS) $(curl_LDADD)
|
||||||
|
|
||||||
@ -141,7 +143,7 @@ clean:
|
|||||||
ifeq "$(wildcard hugehelp.c.cvs)" "hugehelp.c.cvs"
|
ifeq "$(wildcard hugehelp.c.cvs)" "hugehelp.c.cvs"
|
||||||
-$(RM) hugehelp.c
|
-$(RM) hugehelp.c
|
||||||
endif
|
endif
|
||||||
-$(RM) $(curl_OBJECTS)
|
-$(RM) $(curl_OBJECTS) $(RESOURCE)
|
||||||
|
|
||||||
distrib: clean
|
distrib: clean
|
||||||
-$(RM) $(curl_PROGRAMS)
|
-$(RM) $(curl_PROGRAMS)
|
||||||
|
Loading…
Reference in New Issue
Block a user