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

  1. # ---------------------------------------------------------------------------
  2. VERSION = BCB.01
  3. # ---------------------------------------------------------------------------
  4. !ifndef BCB
  5. BCB = $(MAKEDIR)\..
  6. !endif
  7. # ---------------------------------------------------------------------------
  8. PROJECT = sdiapp.exe
  9. OBJFILES = sdiapp.obj About.obj SDIMain.obj
  10. RESFILES = sdiapp.res
  11. RESDEPEN = $(RESFILES) About.dfm SDIMain.dfm
  12. LIBFILES = 
  13. # ---------------------------------------------------------------------------
  14. CFLAG1 = -w -Od -Hc -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.    -v -$Y -$W -$O- -JPHNV -M -U$(BCB)\lib\obj;$(BCB)\lib \
  18.    -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.     $(ALLRES) 
  36. .pas.hpp:
  37.     $(BCB)\BIN\dcc32 $(PFLAGS) { $** }
  38. .pas.obj:
  39.     $(BCB)\BIN\dcc32 $(PFLAGS) { $** }
  40. .cpp.obj:
  41.     $(BCB)\BIN\bcc32 $(CFLAG1) $(CFLAG2) -o$* $* 
  42. .c.obj:
  43.     $(BCB)\BIN\bcc32 $(CFLAG1) $(CFLAG2) -o$* $**
  44. .rc.res:
  45.     $(BCB)\BIN\brcc32 $(RFLAGS) $<
  46. #-----------------------------------------------------------------------------
  47.