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

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