blob: d7519174523a1e376ef00f1e776a3e3847599fcc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# file : build/cxx/rules.nmake
# author : Boris Kolpackov <boris@codesynthesis.com>
# copyright : Copyright (c) 2006-2011 Code Synthesis Tools CC
# license : GNU GPL v2 + exceptions; see accompanying LICENSE file
!include $(root)\build\config.nmake
# Rules.
#
.SUFFIXES: .cxx .exe .obj
.cxx.obj:
$(CXX) $(CPPFLAGS) $(EXTRA_CPPFLAGS) $(CXXFLAGS) /c /TP $< /Fo$@
.obj.exe:
$(LD) $(LDFLAGS) /OUT:$@ $** $(LIBS)
!if "$(POSTLD)" != ""
$(POSTLD) $@ $** $(LIBS)
!endif
|