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

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