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

1.1       root        1: # Makefile : Builds the application.
                      2: #
                      3: # Usage:     NMAKE options     (builds the application)
                      4: #    or:     NMAKE CLEAN       (erases the compiled files)
                      5: #
                      6: # Options:   DEBUG=[0|1]       (default is 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=bibref.h
                     20: BIBREF_OBJS = bibref.obj bibsvr.obj bibdoc.obj bibitem.obj mainwnd.obj
                     21: 
                     22: all: bibref.exe
                     23: 
                     24: !ifndef NTMFC
                     25: CPPFLAGS=  /DWINVER=0x0300 /AM /W3 /Zp /GA /G2 /Yu$(PCH)
                     26: LINKFLAGS=/NOD /ONERROR:NOEXE
                     27: 
                     28: !if "$(DEBUG)"=="1"
                     29: CPPFLAGS=/D_DEBUG $(CPPFLAGS) /Odr /f /Zi
                     30: LIBS=mafxcwd libw mlibcew olesvr shell
                     31: LINKFLAGS=$(LINKFLAGS) /COD
                     32: !else
                     33: CPPFLAGS=$(CPPFLAGS) /Oselg /Gs
                     34: LINKFLAGS=$(LINKFLAGS)  
                     35: LIBS=mafxcw libw mlibcew olesvr shell
                     36: !endif
                     37: 
                     38: bibref.exe: $(BIBREF_OBJS) bibref.def bibref.res
                     39:        link $(LINKFLAGS) @<<
                     40: $(BIBREF_OBJS),
                     41: bibref,
                     42: NUL,
                     43: $(LIBS),
                     44: bibref.def;
                     45: <<
                     46:        rc -30 /k /t bibref.res
                     47: 
                     48: !else
                     49: 
                     50: !include ..\ntsample.mak
                     51: 
                     52: bibref.exe: $(BIBREF_OBJS) bibref.def bibref.res
                     53:     $(LINK) $(GUIFLAGS) -out:bibref.exe $(BIBREF_OBJS) bibref.res $(MFCLIB) $(GUILIBS)
                     54: 
                     55: !endif
                     56: 
                     57: 
                     58: bibref.pch bibref.obj: bibref.cpp bibref.h resource.h mainwnd.h bibsvr.h
                     59:        $(CPP) $(CPPFLAGS) /Yc$(PCH) /c bibref.cpp
                     60: 
                     61: 
                     62: bibsvr.obj  : bibref.h bibsvr.h bibdoc.h mainwnd.h
                     63: bibdoc.obj  : bibref.h bibdoc.h bibitem.h
                     64: bibitem.obj : bibref.h bibitem.h bibdoc.h
                     65: mainwnd.obj : bibref.h mainwnd.h bibdoc.h
                     66: 
                     67: bibref.res: resource.h bibref.ico about.dlg
                     68: 
                     69: clean:
                     70:        -erase bibref.exe
                     71:        -erase bibref.res
                     72:        -erase bibref.pch
                     73:        -erase *.obj

unix.superglobalmegacorp.com

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