home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-02-08 | 1.9 KB | 48 lines |
- # --------------------------------------------------------------------
- # (C) Copyright 1990-1994 by Autodesk, Inc.
- # Permission to use, copy, modify, and distribute this software and its
- # documentation for any purpose and without fee is hereby granted.
- # THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
- # ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR PURPOSE AND OF
- # MERCHANTABILITY ARE HEREBY DISCLAIMED.
- # --------------------------------------------------------------------
- #
- # ADS make file for MSVC++ 1.1 32-bit edition
- #
- # This make file uses the MSVC++ 1.1 32-bit compiler to build a
- # Windows ADS executable. You must use the WINADS.BAT file to set up the
- # initial DOS environment and launch nmake using this make file.
- #
- # This make file was created from an MSVC++ IDE project file (which is
- # already a make file with extra stuff in it). All I did was strip out
- # unnecessary macros and replace the actual source file name with $(INFILE)
- # which is an environment variable set by the WINADS.BAT file to the
- # value of the desired source file name.
-
-
-
- #These commented out lines are for building with debug on
- #
- #CFLAGS = /Zp1 /W3 /Zi /YX /D WIN=1 /D ADS=1 /D _DEBUG /D _X86_ /D WIN32
-
- #LFLAGS = /NOLOGO /DEBUG:full /DEBUGTYPE:cv /SUBSYSTEM:windows \
- # user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib olecli32.lib \
- # olesvr32.lib shell32.lib
-
- CFLAGS = /Zp1 /W3 /YX /Ox /D WIN=1 /D ADS=1 /D _X86_=1 /D WIN32
-
- LFLAGS = /NOLOGO /SUBSYSTEM:windows user32.lib gdi32.lib winspool.lib \
- comdlg32.lib advapi32.lib olecli32.lib olesvr32.lib shell32.lib
-
- #$(INFILE).EXE: $(INFILE).OBJ $(INFILE).DEF WINADS.LIB
- $(INFILE).EXE: $(INFILE).OBJ $(INFILE).DEF
- echo >NUL @<<$(INFILE).CRF
- $(INFILE).OBJ
- -OUT:$(INFILE).EXE
- WINADS.LIB
- <<
- link $(LFLAGS) @$(INFILE).CRF
-
- $(INFILE).OBJ: $(INFILE).C adslib.h ads.h adsdef.h adscodes.h
- cl $(CFLAGS) /c $(INFILE).C
-