home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
cb
/
setup
/
cbuilder
/
data.z
/
CMPLIB32.OPT
(
.txt
)
< prev
next >
Wrap
Borland C/C++ Project
|
1997-02-28
|
2KB
|
49 lines
# ---------------------------------------------------------------------------
VERSION = BCB.01
# ---------------------------------------------------------------------------
!ifndef BCB
BCB = $(MAKEDIR)\..
!endif
# ---------------------------------------------------------------------------
PROJECT = <set by IDE>
OBJFILES = <set by IDE>
RESFILES = <set by IDE>
RESDEPEN = <set by IDE>
LIBFILES = <set by IDE>
DEFFILE = <set by IDE>
# ---------------------------------------------------------------------------
CFLAG1 = -O2 -Hc -vi -r -c -a4 -b- -w -w-par -w-inl -Vx -Ve -x -k
CFLAG2 = -I$(BCB)\include;$(BCB)\include\vcl;$(BCB)\lib \
-H=$(BCB)\lib\cmplib32.csm
PFLAGS = -m -jphnv -U$(BCB)\lib\obj;$(BCB)\lib -AWinTypes=Windows;WinProcs=Windows \
-ADbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -I$(BCB)\include;$(BCB)\include\vcl;$(BCB)\lib
RFLAGS = -i$(BCB)\include;$(BCB)\include\vcl;$(BCB)\lib
LFLAGS = -L$(BCB)\lib\obj;$(BCB)\lib -x -aa -Tpd -V4.0 -c
IFLAGS =
LINKER = ilink32
# ---------------------------------------------------------------------------
ALLOBJ = c0d32.obj $(OBJFILES)
ALLRES = $(RESFILES)
ALLLIB = $(LIBFILES) vcl.lib import32.lib cp32mt.lib
# ---------------------------------------------------------------------------
.autodepend
$(PROJECT): $(OBJFILES) $(RESDEPEN) $(DEFFILE)
$(BCB)\BIN\$(LINKER) @&&!
$(LFLAGS) +
$(ALLOBJ), +
$(PROJECT),, +
$(ALLLIB), +
$(DEFFILE), +
$(ALLRES)
.pas.hpp:
$(BCB)\BIN\dcc32 $(PFLAGS) { $** }
.pas.obj:
$(BCB)\BIN\dcc32 $(PFLAGS) { $** }
.cpp.obj:
$(BCB)\BIN\bcc32 $(CFLAG1) $(CFLAG2) -o$* $*
.c.obj:
$(BCB)\BIN\bcc32 $(CFLAG1) $(CFLAG2) -o$* $**
.rc.res:
$(BCB)\BIN\brcc32 $(RFLAGS) $<
#-----------------------------------------------------------------------------