1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# file : build/cxx/rules.nmake # 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