shithub: openh264

ref: 0ffc5ea47d09778a50edafed29a3a664c2f4f3f3
dir: /build/platform-cygwin_nt.mk/

View raw version
include $(SRC_PATH)build/x86-common.mk
SHAREDLIB_DIR = $(PREFIX)/bin
SHAREDLIBSUFFIX = dll
SHAREDLIBSUFFIXFULLVER=$(SHAREDLIBSUFFIX)
SHAREDLIBSUFFIXMAJORVER=$(SHAREDLIBSUFFIX)
EXTRA_LIBRARY=$(LIBPREFIX)$(PROJECT_NAME).dll.a
SHLDFLAGS = -Wl,--out-implib,$(EXTRA_LIBRARY)
CFLAGS += -MMD -MP
LDFLAGS +=
ifeq ($(ARCH), x86_64)
ASMFLAGS += -f win64
ASMFLAGS_PLATFORM = -DWIN64
CC = x86_64-pc-cygwin-gcc
CXX = x86_64-pc-cygwin-g++
AR = x86_64-pc-cygwin-gcc-ar
else
ASMFLAGS += -f win32 -DPREFIX
endif
EXEEXT = .exe