home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 May / PCP163A.iso / Runimage / Cbuilder4 / Examples / DDraw / DDraw1B / DDRAW1B.BPR next >
Encoding:
Text File  |  1999-01-26  |  4.6 KB  |  183 lines

  1. # ---------------------------------------------------------------------------
  2. !if !$d(BCB)
  3. BCB = $(MAKEDIR)\..
  4. !endif
  5.  
  6. # ---------------------------------------------------------------------------
  7. # IDE SECTION
  8. # ---------------------------------------------------------------------------
  9. # The following section of the project makefile is managed by the BCB IDE.
  10. # It is recommended to use the IDE to change any of the values in this
  11. # section.
  12. # ---------------------------------------------------------------------------
  13.  
  14. VERSION = BCB.04.04
  15. # ---------------------------------------------------------------------------
  16. PROJECT = ddraw1b.exe
  17. OBJFILES = ddraw1b.obj Main.obj
  18. RESFILES = ddraw1b.res
  19. RESDEPEN = $(RESFILES) Main.dfm
  20. LIBFILES =
  21. IDLGENFILES =
  22. IDLFILES =
  23. LIBRARIES = VCL40.lib
  24. SPARELIBS = VCL40.lib
  25. DEFFILE =
  26. PACKAGES = 
  27. # ---------------------------------------------------------------------------
  28. PATHCPP = .;
  29. PATHASM = .;
  30. PATHPAS = .;
  31. PATHRC = .;
  32. DEBUGLIBPATH = $(BCB)\lib\debug
  33. RELEASELIBPATH = $(BCB)\lib\release
  34. SYSDEFINES = NO_STRICT
  35. USERDEFINES =
  36. # ---------------------------------------------------------------------------
  37. CFLAG1 = -I..\utils;$(BCB)\include;$(BCB)\include\vcl -Od -Hc -H=$(BCB)\lib\vcl40.csm -w \
  38.   -Ve -r- -k -y -v -vi- -D$(SYSDEFINES);$(USERDEFINES) -c -b- -w-par -w-inl -Vx \
  39.   -tW -tW
  40. CFLAG2 =
  41. CFLAG3 =
  42. IDLCFLAGS = -src_suffixcpp -I..\utils -I$(BCB)\include -I$(BCB)\include\vcl
  43. PFLAGS = -U..\utils;$(BCB)\lib\release;$(BCB)\lib\obj;$(BCB)\lib;$(RELEASELIBPATH) \
  44.   -I..\utils;$(BCB)\include;$(BCB)\include\vcl -v -JPHN -M
  45. RFLAGS = -i..\utils;$(BCB)\include;$(BCB)\include\vcl
  46. AFLAGS = /i..\utils /i$(BCB)\include /i$(BCB)\include\vcl /mx /w2 /zd
  47. LFLAGS = -L..\utils;$(BCB)\lib\release;$(BCB)\lib\obj;$(BCB)\lib;$(RELEASELIBPATH) -aa \
  48.   -Tpe -x -v
  49. IFLAGS =
  50. # ---------------------------------------------------------------------------
  51. ALLOBJ = c0w32.obj sysinit.obj $(OBJFILES)
  52. ALLRES = $(RESFILES)
  53. ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cp32mt.lib
  54. # ---------------------------------------------------------------------------
  55. !ifdef IDEOPTIONS
  56.  
  57. [Version Info]
  58. IncludeVerInfo=0
  59. AutoIncBuild=0
  60. MajorVer=1
  61. MinorVer=0
  62. Release=0
  63. Build=0
  64. Debug=0
  65. PreRelease=0
  66. Special=0
  67. Private=0
  68. DLL=0
  69. Locale=1033
  70. CodePage=1252
  71.  
  72. [Version Info Keys]
  73. CompanyName=
  74. FileDescription=
  75. FileVersion=1.0.0.0
  76. InternalName=
  77. LegalCopyright=
  78. LegalTrademarks=
  79. OriginalFilename=
  80. ProductName=
  81. ProductVersion=1.0.0.0
  82. Comments=
  83.  
  84. [Debugging]
  85. DebugSourceDirs=$(BCB)\source\vcl
  86.  
  87. [Parameters]
  88. RunParams=
  89. HostApplication=
  90. RemoteHost=
  91. RemotePath=
  92. RemoteDebug=0
  93.  
  94. [Compiler]
  95. InMemoryExe=0
  96. ShowInfoMsgs=0
  97.  
  98. [CORBA]
  99. AddServerUnit=1
  100. AddClientUnit=1
  101. PrecompiledHeaders=1
  102.  
  103. !endif
  104.  
  105. # ---------------------------------------------------------------------------
  106. # MAKE SECTION
  107. # ---------------------------------------------------------------------------
  108. # This section of the project file is not used by the BCB IDE.  It is for
  109. # the benefit of building from the command-line using the MAKE utility.
  110. # ---------------------------------------------------------------------------
  111.  
  112. .autodepend
  113. # ---------------------------------------------------------------------------
  114. !if !$d(BCC32)
  115. BCC32 = bcc32
  116. !endif
  117.  
  118. !if !$d(DCC32)
  119. DCC32 = dcc32
  120. !endif
  121.  
  122. !if !$d(TASM32)
  123. TASM32 = tasm32
  124. !endif
  125.  
  126. !if !$d(LINKER)
  127. LINKER = ilink32
  128. !endif
  129.  
  130. !if !$d(BRCC32)
  131. BRCC32 = brcc32
  132. !endif
  133.  
  134. !if !$d(IDL2CPP)
  135. IDL2CPP = idl2cpp
  136. !endif
  137. # ---------------------------------------------------------------------------
  138. !if $d(PATHCPP)
  139. .PATH.CPP = $(PATHCPP)
  140. .PATH.C   = $(PATHCPP)
  141. !endif
  142.  
  143. !if $d(PATHPAS)
  144. .PATH.PAS = $(PATHPAS)
  145. !endif
  146.  
  147. !if $d(PATHASM)
  148. .PATH.ASM = $(PATHASM)
  149. !endif
  150.  
  151. !if $d(PATHRC)
  152. .PATH.RC  = $(PATHRC)
  153. !endif
  154. # ---------------------------------------------------------------------------
  155. $(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
  156.     $(BCB)\BIN\$(LINKER) @&&!
  157.     $(LFLAGS) $(IFLAGS) +
  158.     $(ALLOBJ), +
  159.     $(PROJECT),, +
  160.     $(ALLLIB), +
  161.     $(DEFFILE), +
  162.     $(ALLRES)
  163. !
  164. # ---------------------------------------------------------------------------
  165. .pas.hpp:
  166.     $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
  167.  
  168. .pas.obj:
  169.     $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
  170.  
  171. .cpp.obj:
  172.     $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< }
  173.  
  174. .c.obj:
  175.     $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< }
  176.  
  177. .asm.obj:
  178.     $(BCB)\BIN\$(TASM32) $(AFLAGS) $<, $@
  179.  
  180. .rc.res:
  181.     $(BCB)\BIN\$(BRCC32) $(RFLAGS) -fo$@ $<
  182. # ---------------------------------------------------------------------------
  183.