home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 May / Pcwk0597.iso / borland / cb / setup / cbuilder / data.z / GDSCC.MAK (.txt) < prev    next >
Borland C/C++ Project  |  1997-02-28  |  2KB  |  54 lines

  1. # ---------------------------------------------------------------------------
  2. VERSION = BCB.01
  3. # ---------------------------------------------------------------------------
  4. !ifndef BCB
  5. BCB = $(MAKEDIR)\..
  6. !endif
  7. # ---------------------------------------------------------------------------
  8. PROJECT = Gdscc.exe
  9. OBJFILES = Gdscc.obj $(BCB)\Examples\DBTASKS\JUMP\OBJREPOS\BASEMOD.obj \
  10.    HomeMod.obj $(BCB)\OBJREPOS\CUSTDATA.obj DataMod.obj CustMod.obj TermMod.obj
  11. RESFILES = Gdscc.res
  12. RESDEPEN = $(RESFILES) $(BCB)\Examples\DBTASKS\JUMP\OBJREPOS\BASEMOD.dfm \
  13.    HomeMod.dfm $(BCB)\OBJREPOS\CUSTDATA.dfm DataMod.dfm CustMod.dfm TermMod.dfm
  14. LIBFILES =
  15. DEFFILE =
  16. # ---------------------------------------------------------------------------
  17. CFLAG1 = -Od -Hc -w -k -r- -y -v -vi- -c -a4 -b- -w-par -w-inl -Vx -Ve -x 
  18. CFLAG2 = -I$(BCB)\examples\dbtasks\jump\objrepos;.;..\OBJREPOS;$(BCB)\OBJREPOS;$(BCB)\include;$(BCB)\include\vcl \
  19.    -H=$(BCB)\lib\vcld.csm 
  20. PFLAGS = -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE \
  21.    -U$(BCB)\objrepos;$(BCB)\examples\dbtasks\jump\objrepos;$(BCB)\lib\obj;$(BCB)\lib \
  22.    -I$(BCB)\examples\dbtasks\jump\objrepos;.;..\OBJREPOS;$(BCB)\OBJREPOS;$(BCB)\include;$(BCB)\include\vcl \
  23.    -v -$Y -$W -$O- -JPHNV -M 
  24. RFLAGS = -i$(BCB)\examples\dbtasks\jump\objrepos;.;..\OBJREPOS;$(BCB)\OBJREPOS;$(BCB)\include;$(BCB)\include\vcl 
  25. LFLAGS = -L$(BCB)\objrepos;$(BCB)\examples\dbtasks\jump\objrepos;$(BCB)\lib\obj;$(BCB)\lib\
  26. ;$(BCB)\objrepos -aa -Tpe -x -v -V4.0
  27. IFLAGS = 
  28. LINKER = ilink32
  29. # ---------------------------------------------------------------------------
  30. ALLOBJ = c0w32.obj $(OBJFILES)
  31. ALLRES = $(RESFILES)
  32. ALLLIB = $(LIBFILES) vcl.lib import32.lib cp32mt.lib 
  33. # ---------------------------------------------------------------------------
  34. .autodepend
  35. $(PROJECT): $(OBJFILES) $(RESDEPEN)
  36.     $(BCB)\BIN\$(LINKER) @&&!
  37.     $(LFLAGS) +
  38.     $(ALLOBJ), +
  39.     $(PROJECT),, +
  40.     $(ALLLIB), +
  41.     $(DEFFILE), +
  42.     $(ALLRES) 
  43. .pas.hpp:
  44.     $(BCB)\BIN\dcc32 $(PFLAGS) { $** }
  45. .pas.obj:
  46.     $(BCB)\BIN\dcc32 $(PFLAGS) { $** }
  47. .cpp.obj:
  48.     $(BCB)\BIN\bcc32 $(CFLAG1) $(CFLAG2) -o$* $* 
  49. .c.obj:
  50.     $(BCB)\BIN\bcc32 $(CFLAG1) $(CFLAG2) -o$* $**
  51. .rc.res:
  52.     $(BCB)\BIN\brcc32 $(RFLAGS) $<
  53. #-----------------------------------------------------------------------------
  54.