|
|
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] (DEBUG not defined is equivalent to DEBUG=0) ! 7: ! 8: ! 9: # This is a part of the Microsoft Foundation Classes C++ library. ! 10: # Copyright (C) 1992 Microsoft Corporation ! 11: # All rights reserved. ! 12: # ! 13: # This source code is only intended as a supplement to the ! 14: # Microsoft Foundation Classes Reference and Microsoft ! 15: # QuickHelp documentation provided with the library. ! 16: # See these sources for detailed information regarding the ! 17: # Microsoft Foundation Classes product. ! 18: # ! 19: ! 20: PCH=fileview.h ! 21: OBJS=fileview.obj linefile.obj ! 22: ! 23: !ifndef NTMFC ! 24: CPPFLAGS= /DWINVER=0x0300 /AM /W3 /Zp /GA /GEs /G2 /Yu$(PCH) ! 25: LINKFLAGS=/NOD /ONERROR:NOEXE ! 26: ! 27: ! 28: !if "$(DEBUG)"=="1" ! 29: CPPFLAGS=/D_DEBUG $(CPPFLAGS) /Od /f /Zi ! 30: LINKFLAGS=$(LINKFLAGS) /COD ! 31: LIBS=mafxcwd libw mlibcew commdlg ! 32: !else ! 33: CPPFLAGS=$(CPPFLAGS) /Gs /Oselg ! 34: LINKFLAGS=$(LINKFLAGS) ! 35: LIBS=mafxcw libw mlibcew commdlg ! 36: !endif ! 37: ! 38: fileview.exe: fileview.obj linefile.obj \ ! 39: fileview.res ! 40: link $(LINKFLAGS) linefile fileview,fileview,nul, \ ! 41: $(LIBS),fileview.def ! 42: rc -30 /k /t fileview.res ! 43: ! 44: !else ! 45: ! 46: !include ..\ntsample.mak ! 47: ! 48: fileview.exe: $(OBJS) fileview.res fileview.def ! 49: $(LINK) $(GUIFLAGS) -out:fileview.exe $(OBJS) fileview.res $(MFCLIB) $(GUILIBS) ! 50: !endif ! 51: ! 52: fileview.obj: fileview.cpp $(PCH) resource.h ! 53: $(CPP) $(CPPFLAGS) /Yc$(PCH) /c fileview.cpp ! 54: ! 55: fileview.res: fileview.rc resource.h fileview.ico ! 56: linefile.obj: linefile.cpp ! 57: ! 58: ! 59: clean: ! 60: -erase fileview.exe ! 61: -erase fileview.pch ! 62: -erase fileview.res ! 63: -erase fileview.obj ! 64: -erase linefile.obj
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.