diff options
Diffstat (limited to 'deps/uv/config-mingw.mk')
-rw-r--r-- | deps/uv/config-mingw.mk | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/deps/uv/config-mingw.mk b/deps/uv/config-mingw.mk index 8a253bae70..0f53407b44 100644 --- a/deps/uv/config-mingw.mk +++ b/deps/uv/config-mingw.mk @@ -24,11 +24,9 @@ CC = $(PREFIX)gcc AR = $(PREFIX)ar E=.exe -CFLAGS=$(CPPFLAGS) -g --std=gnu89 -D_WIN32_WINNT=0x0600 -Isrc/ares/config_win32 +CFLAGS=$(CPPFLAGS) -g --std=gnu89 -D_WIN32_WINNT=0x0600 LINKFLAGS=-lm -CARES_OBJS += src/ares/windows_port.o -CARES_OBJS += src/ares/ares_platform.o WIN_SRCS=$(wildcard src/win/*.c) WIN_OBJS=$(WIN_SRCS:.c=.o) @@ -37,7 +35,7 @@ RUNNER_LINKFLAGS=$(LINKFLAGS) RUNNER_LIBS=-lws2_32 -lpsapi -liphlpapi RUNNER_SRC=test/runner-win.c -uv.a: $(WIN_OBJS) src/cares.o src/fs-poll.o src/inet.o src/uv-common.o $(CARES_OBJS) +uv.a: $(WIN_OBJS) src/fs-poll.o src/inet.o src/uv-common.o $(AR) rcs uv.a $^ src/%.o: src/%.c include/uv.h include/uv-private/uv-win.h @@ -47,9 +45,7 @@ src/win/%.o: src/win/%.c include/uv.h include/uv-private/uv-win.h src/win/intern $(CC) $(CFLAGS) -o $@ -c $< clean-platform: - -rm -f src/ares/*.o -rm -f src/win/*.o distclean-platform: - -rm -f src/ares/*.o -rm -f src/win/*.o |