Skip to content
Snippets Groups Projects
Commit f02325ea authored by Guenter Knauf's avatar Guenter Knauf
Browse files

Some MinGW makefile tweaks for MinGW64.

parent b98594c8
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment