home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-03-05 | 1.1 KB | 48 lines |
- # Makefile : Builds the tracer application
- #
- # Usage: NMAKE options (builds the application)
- # or: NMAKE CLEAN (erases the compiled files)
- #
- # Options: DEBUG=[0|1] (default is 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 /AS /W3 /Gsw /Zp
- LINKFLAGS=/NOD /ONERROR:NOEXE
-
- !if "$(DEBUG)"=="1"
- CPPFLAGS=/D_DEBUG $(CPPFLAGS) /Odr /Zi /f
- LINKFLAGS=$(LINKFLAGS) /COD
- LIBS=safxcwd libw slibcew
- !else
- CPPFLAGS=$(CPPFLAGS) /Oxs
- LINKFLAGS=$(LINKFLAGS)
- LIBS=safxcw libw slibcew
- !endif
-
- tracer.exe: tracer.obj tracer.def tracer.res
- link $(LINKFLAGS) @<<
- tracer,
- tracer,
- NUL,
- $(LIBS),
- tracer.def;
- <<
- rc -30 /t tracer.res
-
- tracer.obj : tracer.cpp
-
- clean:
- -erase tracer.exe
- -erase tracer.obj
- -erase tracer.res
-