Annotation of mstools/mfc/samples/showfont/makefile, revision 1.1.1.1

1.1       root        1: # Makefile : Builds the Showfont application
                      2: #
                      3: # Usage:     NMAKE option (build Showfont)
                      4: #    or:     NMAKE clean  (erase all compiled files)
                      5: #
                      6: # option:    DEBUG=[0|1]  (DEBUG not defined is equivalent to DEBUG=0)
                      7: #
                      8: # This is a part of the Microsoft Foundation Classes C++ library.
                      9: # Copyright (C) 1992 Microsoft Corporation
                     10: # All rights reserved.
                     11: #
                     12: # This source code is only intended as a supplement to the
                     13: # Microsoft Foundation Classes Reference and Microsoft
                     14: # QuickHelp documentation provided with the library.
                     15: # See these sources for detailed information regarding the
                     16: # Microsoft Foundation Classes product.
                     17: #
                     18: 
                     19: PCH=showfont.h
                     20: OBJS= showfont.obj mainwnd.obj drawing.obj dialogs.obj cfont.obj 
                     21: 
                     22: !ifndef NTMFC
                     23: CPPFLAGS=  /DWINVER=0x0300 /AM /W3 /Zp /GA /GEs /G2 /Yu$(PCH)
                     24: LINKFLAGS=/NOD /ONERROR:NOEXE
                     25: 
                     26: !if "$(DEBUG)"=="1"
                     27: CPPFLAGS=/D_DEBUG $(CPPFLAGS) /Od /Zi /f
                     28: LINKFLAGS=$(LINKFLAGS) /COD
                     29: LIBS=mafxcwd libw mlibcew
                     30: !else
                     31: CPPFLAGS=$(CPPFLAGS) /Oselg /Gs
                     32: LINKFLAGS=$(LINKFLAGS)  
                     33: LIBS=mafxcw libw mlibcew
                     34: !endif
                     35: 
                     36: 
                     37: showfont.exe:   showfont.obj mainwnd.obj drawing.obj dialogs.obj cfont.obj \
                     38:        showfont.def showfont.res
                     39:        link $(LINKFLAGS) @<<
                     40: showfont mainwnd drawing dialogs cfont, 
                     41: showfont,
                     42: NUL, 
                     43: $(LIBS), 
                     44: showfont.def;
                     45: <<
                     46:        rc -30 /k /t showfont.res
                     47: 
                     48: !else
                     49: 
                     50: !include ..\ntsample.mak
                     51: 
                     52: showfont.exe:   showfont.obj mainwnd.obj drawing.obj dialogs.obj cfont.obj \
                     53:        showfont.def showfont.res
                     54:     $(LINK) $(GUIFLAGS) -out:showfont.exe $(OBJS) showfont.res $(MFCLIB) $(GUILIBS)
                     55: 
                     56: !endif
                     57: 
                     58: showfont.obj:   showfont.h mainwnd.h
                     59:        $(CPP) $(CPPFLAGS) /Yc$(PCH) /c showfont.cpp
                     60: 
                     61: mainwnd.obj:    showfont.h mainwnd.h
                     62: drawing.obj:    showfont.h mainwnd.h
                     63: dialogs.obj:    showfont.h mainwnd.h
                     64: cfont.obj:  showfont.h
                     65: 
                     66: showfont.h: resource.h
                     67: 
                     68: showfont.res:    resource.h about.dlg cfont.dlg showfont.ico
                     69: 
                     70: clean:
                     71:        -erase showfont.exe
                     72:        -erase showfont.pch
                     73:        -erase showfont.res
                     74:        -erase *.obj

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.