home *** CD-ROM | disk | FTP | other *** search
/ Chip 1999 March / Chip_1999-03_cd.bin / zkuste / delphi / D234C13 / RALIB.ZIP / RALib / Demo / RAControls / B1_RAControls.mak (.txt) < prev    next >
Borland C/C++ Project  |  1998-08-19  |  2KB  |  50 lines

  1. # ---------------------------------------------------------------------------
  2. VERSION = BCB.01
  3. # ---------------------------------------------------------------------------
  4. !ifndef BCB
  5. BCB = $(MAKEDIR)\..
  6. !endif
  7. # ---------------------------------------------------------------------------
  8. PROJECT = B1_RAControls.exe
  9. OBJFILES = fRAControls.obj B1_RAControls.obj
  10. RESFILES = B1_RAControls.res
  11. RESDEPEN = $(RESFILES) fRAControls.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 -H=$(BCB)\lib\vcld.csm 
  17. PFLAGS = -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE \
  18.    -U$(BCB)\lib\obj;$(BCB)\lib;$(BCB)\user\ralib\lib \
  19.    -I$(BCB)\include;$(BCB)\include\vcl -v -$Y -$W -$O- -JPHNV -M     
  20. RFLAGS = -i$(BCB)\include;$(BCB)\include\vcl 
  21. LFLAGS = -L$(BCB)\lib\obj;$(BCB)\lib;$(BCB)\user\ralib\lib -aa -Tpe -x -v \
  22.    -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) $(DEFFILE)
  32.     $(BCB)\BIN\$(LINKER) @&&!
  33.     $(LFLAGS) +
  34.     $(ALLOBJ), +
  35.     $(PROJECT),, +
  36.     $(ALLLIB), +
  37.     $(DEFFILE), +
  38.     $(ALLRES) 
  39. .pas.hpp:
  40.     $(BCB)\BIN\dcc32 $(PFLAGS) { $** }
  41. .pas.obj:
  42.     $(BCB)\BIN\dcc32 $(PFLAGS) { $** }
  43. .cpp.obj:
  44.     $(BCB)\BIN\bcc32 $(CFLAG1) $(CFLAG2) -o$* $* 
  45. .c.obj:
  46.     $(BCB)\BIN\bcc32 $(CFLAG1) $(CFLAG2) -o$* $**
  47. .rc.res:
  48.     $(BCB)\BIN\brcc32 $(RFLAGS) $<
  49. #-----------------------------------------------------------------------------
  50.