home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 May / PCP163A.iso / Runimage / Cbuilder4 / Examples / Apps / MiniComp / MINICOMP.BPR < prev    next >
Encoding:
Text File  |  1999-01-26  |  4.4 KB  |  191 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 = minicomp.exe
  17. OBJFILES = minicomp.obj counter.obj
  18. RESFILES =
  19. RESDEPEN = $(RESFILES)
  20. LIBFILES =
  21. IDLGENFILES =
  22. IDLFILES =
  23. LIBRARIES =
  24. SPARELIBS = 
  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;_NO_VCL
  35. USERDEFINES =
  36. # ---------------------------------------------------------------------------
  37. CFLAG1 = -I$(BCB)\include -w -a1 -k -vi -D$(SYSDEFINES);$(USERDEFINES) -c -tWC -tWM
  38. CFLAG2 =
  39. CFLAG3 =
  40. IDLCFLAGS = -src_suffixcpp -I$(BCB)\include
  41. PFLAGS = -U$(BCB)\lib;$(DEBUGLIBPATH) -I$(BCB)\include -v -JPHN -M
  42. RFLAGS = -i$(BCB)\include
  43. AFLAGS = /i$(BCB)\include /mx /w2 /zd /d_NO_VCL
  44. LFLAGS = -L$(BCB)\lib;$(DEBUGLIBPATH) -ap -Tpe -x -v
  45. IFLAGS =
  46. # ---------------------------------------------------------------------------
  47. ALLOBJ = c0x32.obj $(OBJFILES)
  48. ALLRES = $(RESFILES)
  49. ALLLIB = $(LIBFILES)  import32.lib cw32mt.lib
  50. # ---------------------------------------------------------------------------
  51. !ifdef IDEOPTIONS
  52.  
  53. [Version Info]
  54. IncludeVerInfo=0
  55. AutoIncBuild=0
  56. MajorVer=1
  57. MinorVer=0
  58. Release=0
  59. Build=0
  60. Debug=0
  61. PreRelease=0
  62. Special=0
  63. Private=0
  64. DLL=0
  65. Locale=1033
  66. CodePage=1252
  67.  
  68. [Version Info Keys]
  69. CompanyName=
  70. FileDescription=Executable (Console)
  71. FileVersion=1.0.0.0
  72. InternalName=
  73. LegalCopyright=
  74. LegalTrademarks=
  75. OriginalFilename=
  76. ProductName=
  77. ProductVersion=1.0.0.0
  78. Comments=
  79.  
  80. [HistoryLists\hlIncludePath]
  81. Count=1
  82. Item0=$(BCB)\include
  83.  
  84. [HistoryLists\hlLibraryPath]
  85. Count=1
  86. Item0=$(BCB)\lib
  87.  
  88. [HistoryLists\hlConditionals]
  89. Count=1
  90. Item0=_NO_VCL
  91.  
  92. [Debugging]
  93. DebugSourceDirs=
  94.  
  95. [Parameters]
  96. RunParams=
  97. HostApplication=
  98. RemoteHost=
  99. RemotePath=
  100. RemoteDebug=0
  101.  
  102. [Compiler]
  103. InMemoryExe=0
  104. ShowInfoMsgs=0
  105.  
  106. [CORBA]
  107. AddServerUnit=1
  108. AddClientUnit=1
  109. PrecompiledHeaders=1
  110.  
  111. !endif
  112.  
  113. # ---------------------------------------------------------------------------
  114. # MAKE SECTION
  115. # ---------------------------------------------------------------------------
  116. # This section of the project file is not used by the BCB IDE.  It is for
  117. # the benefit of building from the command-line using the MAKE utility.
  118. # ---------------------------------------------------------------------------
  119.  
  120. .autodepend
  121. # ---------------------------------------------------------------------------
  122. !if !$d(BCC32)
  123. BCC32 = bcc32
  124. !endif
  125.  
  126. !if !$d(DCC32)
  127. DCC32 = dcc32
  128. !endif
  129.  
  130. !if !$d(TASM32)
  131. TASM32 = tasm32
  132. !endif
  133.  
  134. !if !$d(LINKER)
  135. LINKER = ilink32
  136. !endif
  137.  
  138. !if !$d(BRCC32)
  139. BRCC32 = brcc32
  140. !endif
  141.  
  142. !if !$d(IDL2CPP)
  143. IDL2CPP = idl2cpp
  144. !endif
  145. # ---------------------------------------------------------------------------
  146. !if $d(PATHCPP)
  147. .PATH.CPP = $(PATHCPP)
  148. .PATH.C   = $(PATHCPP)
  149. !endif
  150.  
  151. !if $d(PATHPAS)
  152. .PATH.PAS = $(PATHPAS)
  153. !endif
  154.  
  155. !if $d(PATHASM)
  156. .PATH.ASM = $(PATHASM)
  157. !endif
  158.  
  159. !if $d(PATHRC)
  160. .PATH.RC  = $(PATHRC)
  161. !endif
  162. # ---------------------------------------------------------------------------
  163. $(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
  164.     $(BCB)\BIN\$(LINKER) @&&!
  165.     $(LFLAGS) $(IFLAGS) +
  166.     $(ALLOBJ), +
  167.     $(PROJECT),, +
  168.     $(ALLLIB), +
  169.     $(DEFFILE), +
  170.     $(ALLRES)
  171. !
  172. # ---------------------------------------------------------------------------
  173. .pas.hpp:
  174.     $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
  175.  
  176. .pas.obj:
  177.     $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
  178.  
  179. .cpp.obj:
  180.     $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< }
  181.  
  182. .c.obj:
  183.     $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< }
  184.  
  185. .asm.obj:
  186.     $(BCB)\BIN\$(TASM32) $(AFLAGS) $<, $@
  187.  
  188. .rc.res:
  189.     $(BCB)\BIN\$(BRCC32) $(RFLAGS) -fo$@ $<
  190. # ---------------------------------------------------------------------------
  191.