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