- added default for windows
- define standard make variable for CC, LD, AS, ...
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
ARCH := w32
|
||||
MAKEFLAGS += --no-print-directory
|
||||
|
||||
TARGET_ARCH := -march=native
|
||||
|
||||
CFLAGS := -mwindows -DDISPID_NEWWINDOW3=0 -U__STRICT_ANSI__
|
||||
CCFLAGS := -m32 -mwindows -DDISPID_NEWWINDOW3=0 -U__STRICT_ANSI__
|
||||
CXXFLAGS := -m32 -mwindows -DDISPID_NEWWINDOW3=0 -U__STRICT_ANSI__
|
||||
|
||||
# debug
|
||||
LDFLAGS_debug := -g
|
||||
CXXFLAGS_debug := -g -O0
|
||||
CFLAGS_debug := -g -O0
|
||||
LDFLAGS_debug := -g -O0
|
||||
|
||||
# release
|
||||
LDFLAGS_release := -g
|
||||
CXXFLAGS_release := -g -O3
|
||||
CFLAGS_release := -g -O3
|
||||
LDFLAGS_release := -g -O3
|
||||
|
||||
# Environment
|
||||
NM=i686-w64-mingw32-nm
|
||||
RANLIB=i686-w64-mingw32-ranlib
|
||||
CC=i686-w64-mingw32-gcc
|
||||
CCC=i686-w64-mingw32-g++
|
||||
CXX=i686-w64-mingw32-g++
|
||||
AS=i686-w64-mingw32-as
|
||||
|
||||
BUILD_DIR ?= ./build/$(ARCH)/${CONFIG}
|
||||
Reference in New Issue
Block a user