home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
pcmagazi
/
1991
/
11
/
makefile
< prev
next >
Wrap
Makefile
|
1991-03-27
|
1KB
|
31 lines
# Calls Gimpel's PC lint 4.0 and Borland's Turbo C++ 2.0
chkpath.exe: makefile chkpath.c exits.h
# Lint the debug version
lint -dDEBUG -mL chkpath.c
# On tcc command line
# -w Display warnings on
# -v Source debugging on
# -N Check for stack overflow
# -ml Large memory model
# -f- Don't do floating point
# -d Merge duplicate strings on
# -DDEBUG #define DEBUG to get debug version
# -edchkpath make DCHKPATH the .EXE's name
bcc -w -v -N -ml -f- -d -DDEBUG -edchkpath chkpath.c
# Lint the production version
lint -mL chkpath.c
# On tcc command line
# -Z Enable register usage optimization
# -w Display warnings on
# -N- Don't check for stack overflow
# -ml Large memory model
# -O Optimize jumps
# -G- Optimize for size
# -f- Don't do floating point
# -d Merge duplicate strings on
bcc -Z -w -N- -ml -O -G- -f- -d chkpath.c
# LZEXE compacts the executable significantly without affecting
# run time by more than a fraction of a second.
lzexe chkpath