Subversion Repositories Projects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
279 dhylands 1
###########################################################################
2
#
3
# 	mkEnv-win32.mk
4
#
5
# 	This file contains cygwin specific defines for the build environment.
6
#
7
# 	This file should only define variables and not have any rules in it.
8
#
9
###########################################################################
10
 
11
MK_ELF_EXT     = .exe
12
MK_EXE_EXT     = .exe
13
 
14
MK_COMMON_WIN32_DIR	= $(MK_COMMON_DIR)/win32
15
 
16
vpath %.c   $(MK_COMMON_WIN32_DIR)
17
vpath %.cpp $(MK_COMMON_WIN32_DIR)
18
 
19
ifeq ($(MK_LIB_PREFIX),)
20
MK_LIB_PREFIX	=
21
endif
22
 
23
ifeq ($(MK_LIB_EXT),)
24
MK_LIB_EXT    	= .lib
25
endif
26
 
27
ifeq ($(MK_OBJ_EXT),)
28
MK_OBJ_EXT    	= .obj
29
endif
30
 
31
ifeq ($(MK_BIN_EXT),)
32
MK_BIN_EXT    	= .bin
33
endif
34
 
35
ifeq ($(MK_HEX_EXT),)
36
MK_HEX_EXT		= .hex
37
endif
38
 
39
CC		= cl /nologo
40
CXX		= cl /nologo
41
 
42
CFLAGS   += -Ox -MDd
43
CXXFLAGS += -Ox -MDd
44
 
45
ifeq ($(MK_ADD_SYMBOLS),1)
46
CXXFLAGS += /Zi
47
CFLAGS += /Zi
48
endif
49
 
50
#DEP_OUTPUT_OPTION = -MMD -MF $(@:.o=.d)
51