which may be optionally overridden by version-specific rules. For example the default rules for gcc on GNU/Linux x86_64 are in the wmake/rules/linux64Gcc directory. If there is a need to change any of the rules for a specific version of gcc, e.g. gcc-4.8.4 the directory wmake/rules/linux64Gcc48 may be created into which any of the language files may be provided containing the rules to override the defaults.
17 lines
355 B
Plaintext
17 lines
355 B
Plaintext
SUFFIXES += .c
|
|
|
|
cWARN =
|
|
|
|
cc = icc
|
|
|
|
include $(DEFAULT_RULES)/c$(WM_COMPILE_OPTION)
|
|
|
|
cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC
|
|
|
|
ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $< -o $@
|
|
|
|
LINK_LIBS = $(cDBUG) -L$(IA32ROOT)/lib
|
|
|
|
LINKLIBSO = $(cc) -i_dynamic
|
|
LINKEXE = $(cc) -Xlinker -z -Xlinker nodefs
|