mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
Another MinGW example makefile tweak.
This commit is contained in:
parent
3317160c19
commit
62b0fdca9e
@ -215,10 +215,10 @@ curl_LDADD += -lws2_32
|
||||
# Makefile.inc provides the check_PROGRAMS and COMPLICATED_EXAMPLES defines
|
||||
include Makefile.inc
|
||||
|
||||
example_PROGRAMS := $(patsubst %,%.exe,$(strip $(check_PROGRAMS)))
|
||||
check_PROGRAMS := $(patsubst %,%.exe,$(strip $(check_PROGRAMS)))
|
||||
|
||||
|
||||
all: $(example_PROGRAMS)
|
||||
all: $(check_PROGRAMS)
|
||||
|
||||
%.exe: %.o $(curl_DEPENDENCIES)
|
||||
$(CC) $(LDFLAGS) -o $@ $< $(curl_LDADD)
|
||||
@ -230,8 +230,8 @@ all: $(example_PROGRAMS)
|
||||
$(RC) $(RCFLAGS) $< -o $@
|
||||
|
||||
clean:
|
||||
$(RM) $(example_PROGRAMS:.exe=.o)
|
||||
-$(RM) $(check_PROGRAMS:.exe=.o)
|
||||
|
||||
distclean vclean: clean
|
||||
-$(RM) $(example_PROGRAMS)
|
||||
-$(RM) $(check_PROGRAMS)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user