|
|
1.1 root 1: # Makefile : Builds the helloapp application
2: #
3: # Usage: NMAKE helloapp
4:
5: # This is a part of the Microsoft Foundation Classes C++ library.
6: # Copyright (C) 1992 Microsoft Corporation
1.1.1.3 ! root 7: # All rights reserved. *
1.1 root 8: #
9: # This source code is only intended as a supplement to the
10: # Microsoft Foundation Classes Reference and Microsoft
1.1.1.3 ! root 11: # WinHelp documentation provided with the library.
1.1 root 12: # See these sources for detailed information regarding the
13: # Microsoft Foundation Classes product.
14: #
15:
1.1.1.3 ! root 16: # Only retail build
1.1.1.2 root 17:
1.1.1.3 ! root 18: LIBGUI=..\..\lib\nafxcw.lib libc.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib \
! 19: shell32.lib
1.1 root 20:
1.1.1.3 ! root 21: !if "$(CPU)"=="ALPHA"
! 22: PLATFORM=ALPHA
1.1 root 23: !endif
24:
1.1.1.3 ! root 25: helloapp.exe: helloapp.cpp helloapp.def
! 26: !if "$(PLATFORM)"=="ALPHA"
! 27: claxp /W3 /Zp /Ox /D_WINDOWS helloapp.cpp /link -subsystem:windows -entry:WinMainCRTStartup $(LIBGUI)
! 28: !else
! 29: !if "$(PLATFORM)"=="MIPS"
! 30: mcl /Gd /W3 /Zp /Ox /D_WINDOWS /D_MIPS_ helloapp.cpp /link -subsystem:windows $(LIBGUI)
! 31: !else
! 32: # INTEL
! 33: cl /G3d /W3 /Zp /O1 /D_WINDOWS /D_X86_ helloapp.cpp $(LIBGUI)
! 34: !endif
! 35: !endif
! 36:
1.1 root 37: clean:
38: -del helloapp.exe
39: -del helloapp.obj
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.