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

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