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

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