Commit f02325ea authored by Guenter Knauf's avatar Guenter Knauf
Browse files

Some MinGW makefile tweaks for MinGW64.

parent b98594c8
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -50,8 +50,16 @@ ifndef LIBCARES_PATH
LIBCARES_PATH = ../ares
endif

# Edit the var below to set to your architecture or set environment var.
ifndef ARCH
ARCH = w32
endif

CC = gcc
CFLAGS = -g -O2 -Wall
ifeq ($(ARCH),w64)
CFLAGS += -D_AMD64_
endif
# comment LDFLAGS below to keep debug info
LDFLAGS = -s
AR = ar
+8 −0
Original line number Diff line number Diff line
@@ -50,8 +50,16 @@ ifndef LIBCARES_PATH
LIBCARES_PATH = ../ares
endif

# Edit the var below to set to your architecture or set environment var.
ifndef ARCH
ARCH = w32
endif

CC = gcc
CFLAGS = -g -O2 -Wall
ifeq ($(ARCH),w64)
CFLAGS += -D_AMD64_
endif
# comment LDFLAGS below to keep debug info
LDFLAGS = -s
RC = windres