home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
m
/
msjmar93.zip
/
DIAG.ZIP
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1993-03-01
|
1KB
|
46 lines
# Makefile : Builds the diag application
#
# Usage: NMAKE option (build diag)
# or: NMAKE clean (erase all compiled files)
#
# option: DEBUG=[0|1] (DEBUG not defined is equivalent to DEBUG=0)
# This is a part of the Microsoft Foundation Classes C++ library.
# Copyright (C) 1992 Microsoft Corporation
# All rights reserved.
#
# This source code is only intended as a supplement to the
# Microsoft Foundation Classes Reference and Microsoft
# QuickHelp documentation provided with the library.
# See these sources for detailed information regarding the
# Microsoft Foundation Classes product.
#
CPPFLAGS= /DWINVER=0x0300 /AM /W3 /Zp /GA /GEs /G2
LINKFLAGS=/NOD /ONERROR:NOEXE
!if "$(DEBUG)"=="1"
CPPFLAGS=/D_DEBUG $(CPPFLAGS) /Od /Zi /f
LINKFLAGS=$(LINKFLAGS) /COD
LIBS=mafxcwd libw mlibcew
!else
CPPFLAGS=$(CPPFLAGS) /Oselg /Gs
LINKFLAGS=$(LINKFLAGS)
LIBS=mafxcw libw mlibcew
!endif
diag.exe: diag.obj diag.def diag.res
link $(LINKFLAGS) diag, diag, NUL, $(LIBS),diag.def;
rc -30 /t diag.res
diag.res: resource.h diag.ico
diag.obj: diag.h resource.h
clean:
-erase diag.exe
-erase diag.res
-erase diag.obj