|
|
1.1 ! root 1: # Makefile : Builds the makehm application ! 2: # ! 3: # Usage: NMAKE options (build makehm) ! 4: # or: NMAKE clean (erase all compiled files) ! 5: # ! 6: # options: DEBUG=[0|1] (DEBUG not defined is equivalent to DEBUG=0) ! 7: # PLATFORM=INTEL (defaults to INTEL) ! 8: # This option chooses the appropriate tools and sources for the ! 9: # different platforms support by Windows/NT. Currently INTEL and ! 10: # MIPS are supported; more will be aded as they become available. ! 11: # ! 12: # This is a part of the Microsoft Foundation Classes C++ library. ! 13: # Copyright (C) 1992 Microsoft Corporation ! 14: # All rights reserved. ! 15: # ! 16: # This source code is only intended as a supplement to the ! 17: # Microsoft Foundation Classes Reference and Microsoft ! 18: # documentation provided with the library. ! 19: # See these sources for detailed information regarding the ! 20: # Microsoft Foundation Classes product. ! 21: # ! 22: ! 23: !if "$(PLATFORM)"=="" ! 24: PLATFORM=ALPHA ! 25: !endif ! 26: ! 27: !if "$(PLATFORM)"=="INTEL" ! 28: CPP = cl ! 29: CPPFLAGS=/W3 /D_X86_ /D_CONSOLE ! 30: LINK=link ! 31: LIBS= ! 32: !else ! 33: !if "$(PLATFORM)"=="MIPS" ! 34: CPP = mcl ! 35: CPPFLAGS=/W3 /D_MIPS_ /D_CONSOLE ! 36: LINK=link32 ! 37: LIBS=kernel32.lib libc.lib ! 38: !else ! 39: !if "$(PLATFORM)"=="ALPHA" ! 40: CPP = claxp ! 41: CPPFLAGS=/W3 /D_CONSOLE ! 42: LINK=link32 ! 43: LIBS=kernel32.lib libc.lib ! 44: !endif ! 45: !endif ! 46: !endif ! 47: LINKFLAGS=-subsystem:console -entry:mainCRTStartup ! 48: ! 49: !if "$(DEBUG)" == "1" ! 50: CPPFLAGS=$(CPPFLAGS) /D_DEBUG /Od /Zi ! 51: LINKFLAGS=$(LINKFLAGS) -debug:full -debugtype:cv ! 52: LIBS=nafxcrd.lib $(LIBS) ! 53: !else ! 54: CPPFLAGS=$(CPPFLAGS) /Ox ! 55: LIBS=nafxcr.lib $(LIBS) ! 56: !endif ! 57: ! 58: .SUFFIXES : .cpp ! 59: .cpp.obj : ! 60: $(CPP) /c $(CPPFLAGS) $*.cpp ! 61: ! 62: makehm.exe: makehm.obj ! 63: $(LINK) $(LINKFLAGS) -out:$*.exe makehm.obj $(LIBS) ! 64: ! 65: clean: ! 66: -erase makehm.exe ! 67: -erase makehm.obj ! 68: -erase msvc.pdb ! 69: -erase makehm.map
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.