home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 May / VPR9705A.ISO / VPR_DATA / PROGRAM / CBTRIAL / SETUP / DATA.Z / TEXTEDIT.MAK (.txt) < prev    next >
Borland C/C++ Project  |  1997-02-14  |  2KB  |  48 lines

  1. # ---------------------------------------------------------------------------
  2. VERSION = BCB.01
  3. # ---------------------------------------------------------------------------
  4. !ifndef BCB
  5. BCB = $(MAKEDIR)\..
  6. !endif
  7. # ---------------------------------------------------------------------------
  8. PROJECT = TextEdit.exe
  9. OBJFILES = textedit.obj mdiframe.obj mdiedit.obj
  10. RESFILES = textedit.res
  11. RESDEPEN = $(RESFILES) mdiframe.dfm mdiedit.dfm
  12. LIBFILES =
  13. DEFFILE = 
  14. # ---------------------------------------------------------------------------
  15. CFLAG1 = -w -Od -Hc -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.     -v -$Y -$W -$O- -JPHNV -M -U$(BCB)\lib\obj;$(BCB)\lib -I$(BCB)\include;$(BCB)include\vcl     
  19. RFLAGS = -i$(BCB)\include;$(BCB)\include\vcl 
  20. LFLAGS = -L$(BCB)\lib\obj;$(BCB)\lib -aa -Tpe -x -v -V4.0  
  21. IFLAGS = 
  22. LINKER = ilink32
  23. # ---------------------------------------------------------------------------
  24. ALLOBJ = c0w32.obj $(OBJFILES)
  25. ALLRES = $(RESFILES)
  26. ALLLIB = $(LIBFILES) vcl.lib import32.lib cp32mt.lib 
  27. # ---------------------------------------------------------------------------
  28. .autodepend
  29. $(PROJECT): $(OBJFILES) $(RESDEPEN)
  30.     $(BCB)\BIN\$(LINKER) @&&!
  31.     $(LFLAGS) +
  32.     $(ALLOBJ), +
  33.     $(PROJECT),, +
  34.     $(ALLLIB), +
  35.     $(DEFFILE), +
  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.