home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Borland Programmer's Resource
/
Borland_Programmers_Resource_CD_1995.iso
/
code
/
winexit
/
makefile
next >
Wrap
Makefile
|
1995-05-18
|
1KB
|
81 lines
.AUTODEPEND
# *Translator Definitions*
CC = bcc +WINEXIT.CFG
TASM = TASM
TLIB = tlib
TLINK = tlink
LIBPATH = C:\DAPPS\BC\LIB
INCLUDEPATH = C:\DAPPS\BC\INCLUDE
# *Implicit Rules*
.c.obj:
$(CC) -c {$< }
.cpp.obj:
$(CC) -c {$< }
# *List Macros*
Link_Exclude = \
winexit.res
Link_Include = \
winexit.obj \
winexit.def \
..\..\..\dapps\bc\lib\bwcc.lib
# install
all: winexit.exe
tdstrip winexit.exe
# clean
clean:
del *.obj
del *.bak
del *.sym
del *.rws
del *.~*
del *.res
del *.exe
# *Explicit Rules*
winexit.exe: winexit.cfg $(Link_Include) $(Link_Exclude)
$(TLINK) /v/x/c/P-/Twe/L$(LIBPATH) @&&|
c0ws.obj+
winexit.obj
winexit
# no map file
..\..\..\dapps\bc\lib\bwcc.lib+
mathws.lib+
import.lib+
cws.lib
winexit.def
|
BRC winexit.res winexit.exe
# *Individual File Dependencies*
winexit.obj: winexit.cfg winexit.c
winexit.res: winexit.cfg winexit.rc
BRC -R -I$(INCLUDEPATH) -FO winexit.res WINEXIT.RC
# *Compiler Configuration File*
winexit.cfg: makefile.
copy &&|
-R
-3
-w+
-v
-W
-vi-
-H=WINEXIT.SYM
-I$(INCLUDEPATH)
-L$(LIBPATH)
-P-.C
| winexit.cfg