MAKEFILE 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. #
  2. # Makefile for Training.lib
  3. #
  4. # Environment variable Requirements:
  5. #
  6. # INCLUDE=foo // can be set to anything, must be set
  7. # PATH= // must have proper nmake on path
  8. # FEDROOT=<path> // MUST point to base of fed src enlistment
  9. #
  10. # nmake args:
  11. #
  12. # Clean // will delete all files in destination dir
  13. # Full // will Clean, then build all derived files
  14. # Shell // opens os-specific cmd/command shell (helps to debug build)
  15. # RETAIL= // builds a retail build (default is DEBUG)
  16. # // no argument is used for debug builds
  17. #
  18. #
  19. # All derived files (temp files, .res, output of midl, *.obj, *.exe/.dll...
  20. # are placed directly into the appropriate tree under $(FEDROOT)\Objs.
  21. # The $(FEDROOT)\Objs tree is created on demand.
  22. # Since no derived files are placed in the source tree, multiple builds
  23. # can be run SIMULTANEOUSLY.
  24. SRCROOT=Training
  25. MAINTARGROOT=Training
  26. MAINTARGEXT=lib
  27. INCLUDELOCAL=$(FEDSRC)\Training;$(FEDSRC)\Effect;$(FEDSRC)\Engine;$(FEDSRC)\ZLib;$(FEDSRC)\_Utility;$(FEDSRC)\Igc;$(FEDSRC)\inc;$(FEDSRC)\clintlib;$(FEDSRC)\SoundEngine;$(FEDSRC)\wintrek;$(FEDSRC)\offline;$(FEDSRC)\lobby
  28. PCHROOT=pch
  29. PCHINC=$(FEDSRC)\Training\*.h $(FEDSRC)\igc\*.h $(FEDSRC)\wintrek\*.h $(FEDSRC)\SoundEngine\*.h
  30. !include "..\makefile.inc"
  31. OBJS= $(DESTDIR)\AbstractTarget.obj \
  32. $(DESTDIR)\TypeIDTarget.obj \
  33. $(DESTDIR)\CurrentTarget.obj \
  34. $(DESTDIR)\PlayerShipTarget.obj \
  35. $(DESTDIR)\Condition.obj \
  36. $(DESTDIR)\ConditionList.obj \
  37. $(DESTDIR)\TrueCondition.obj \
  38. $(DESTDIR)\AndCondition.obj \
  39. $(DESTDIR)\OrCondition.obj \
  40. $(DESTDIR)\PeriodicCondition.obj \
  41. $(DESTDIR)\NTimesCondition.obj \
  42. $(DESTDIR)\TurnShipAboutCondition.obj \
  43. $(DESTDIR)\CommandAcknowledgedCondition.obj \
  44. $(DESTDIR)\ObjectMovingTowardsCondition.obj \
  45. $(DESTDIR)\ObjectWithinRadiusCondition.obj \
  46. $(DESTDIR)\ObjectPointingAtCondition.obj \
  47. $(DESTDIR)\SuspendedSoundFinishedCondition.obj \
  48. $(DESTDIR)\SuspendedPlaySoundAction.obj \
  49. $(DESTDIR)\SoundFinishedCondition.obj \
  50. $(DESTDIR)\GetRadarLODCondition.obj \
  51. $(DESTDIR)\GetControlActiveCondition.obj \
  52. $(DESTDIR)\GetStateBitsCondition.obj \
  53. $(DESTDIR)\GetShipIsStoppedCondition.obj \
  54. $(DESTDIR)\GetShipIsDamagedCondition.obj \
  55. $(DESTDIR)\GetShipHasAmmoCondition.obj \
  56. $(DESTDIR)\GetShipHasCargoCondition.obj \
  57. $(DESTDIR)\GetAutopilotCondition.obj \
  58. $(DESTDIR)\GetTargetCondition.obj \
  59. $(DESTDIR)\GetSectorCondition.obj \
  60. $(DESTDIR)\GetViewSectorCondition.obj \
  61. $(DESTDIR)\GetCommandCondition.obj \
  62. $(DESTDIR)\GetProbeCountCondition.obj \
  63. $(DESTDIR)\GetKeyCondition.obj \
  64. $(DESTDIR)\GetChatCondition.obj \
  65. $(DESTDIR)\ProxyCondition.obj \
  66. $(DESTDIR)\Predicate.obj \
  67. $(DESTDIR)\Action.obj \
  68. $(DESTDIR)\ActionList.obj \
  69. $(DESTDIR)\NoAction.obj \
  70. $(DESTDIR)\OneTimeAction.obj \
  71. $(DESTDIR)\ProxyAction.obj \
  72. $(DESTDIR)\SetDisplayModeAction.obj \
  73. $(DESTDIR)\SetHUDOverlayAction.obj \
  74. $(DESTDIR)\EndMissionAction.obj \
  75. $(DESTDIR)\ResetAction.obj \
  76. $(DESTDIR)\ResetShipAction.obj \
  77. $(DESTDIR)\ConditionalAction.obj \
  78. $(DESTDIR)\MessageAction.obj \
  79. $(DESTDIR)\PlaySoundAction.obj \
  80. $(DESTDIR)\SetCommandAction.obj \
  81. $(DESTDIR)\SetSignatureAction.obj \
  82. $(DESTDIR)\SetRadarLODAction.obj \
  83. $(DESTDIR)\SetAutopilotAction.obj \
  84. $(DESTDIR)\SetControlConstraintsAction.obj \
  85. $(DESTDIR)\SetControlsAction.obj \
  86. $(DESTDIR)\ShowPaneAction.obj \
  87. $(DESTDIR)\ShowEyeballAction.obj \
  88. $(DESTDIR)\ReleaseConsumerAction.obj \
  89. $(DESTDIR)\CreateObjectAction.obj \
  90. $(DESTDIR)\CreateProbeAction.obj \
  91. $(DESTDIR)\CreateDroneAction.obj \
  92. $(DESTDIR)\CreateWaypointAction.obj \
  93. $(DESTDIR)\TurnToAction.obj \
  94. $(DESTDIR)\ToggleWeaponAction.obj \
  95. $(DESTDIR)\SwapWeaponAction.obj \
  96. $(DESTDIR)\DoDamageAction.obj \
  97. $(DESTDIR)\RepairRearmAction.obj \
  98. $(DESTDIR)\ShipSeesObjectCondition.obj \
  99. $(DESTDIR)\GetPickedCondition.obj \
  100. $(DESTDIR)\Goal.obj \
  101. $(DESTDIR)\GoalList.obj \
  102. $(DESTDIR)\Training.obj \
  103. $(DESTDIR)\TrainingMission.obj \
  104. $(DESTDIR)\Mission2.obj \
  105. $(DESTDIR)\Mission3.obj \
  106. $(DESTDIR)\Mission4.obj \
  107. $(DESTDIR)\Mission5.obj \
  108. $(DESTDIR)\Mission6.obj
  109. LIBARGS= $(NOLOGO) /out:$(MAINTARGFULLPATH)
  110. #
  111. # Dependecies start here
  112. #
  113. $(MAINTARGFULLPATH): $(DESTDIR) $(OBJS)
  114. lib $(LIBARGS) $(OBJS) $(DESTDIR)\pch.obj
  115. $(DESTDIR)\Condition.obj: $(PCHFILE)
  116. $(DESTDIR)\ConditionList.obj: $(PCHFILE)
  117. $(DESTDIR)\TrueCondition.obj: $(PCHFILE)
  118. $(DESTDIR)\AndCondition.obj: $(PCHFILE)
  119. $(DESTDIR)\OrCondition.obj: $(PCHFILE)
  120. $(DESTDIR)\PeriodicCondition.obj: $(PCHFILE)
  121. $(DESTDIR)\NTimesCondition.obj: $(PCHFILE)
  122. $(DESTDIR)\TurnShipAboutCondition.obj: $(PCHFILE)
  123. $(DESTDIR)\CommandAcknowledgedCondition.obj: $(PCHFILE)
  124. $(DESTDIR)\ObjectMovingTowardsCondition.obj: $(PCHFILE)
  125. $(DESTDIR)\ObjectWithinRadiusCondition.obj: $(PCHFILE)
  126. $(DESTDIR)\ObjectPointingAtCondition.obj: $(PCHFILE)
  127. $(DESTDIR)\SuspendedSoundFinishedCondition.obj: $(PCHFILE)
  128. $(DESTDIR)\SuspendedPlaySoundAction.obj: $(PCHFILE)
  129. $(DESTDIR)\SoundFinishedCondition.obj: $(PCHFILE)
  130. $(DESTDIR)\GetRadarLODCondition.obj: $(PCHFILE)
  131. $(DESTDIR)\GetControlActiveCondition.obj: $(PCHFILE)
  132. $(DESTDIR)\GetStateBitsCondition.obj: $(PCHFILE)
  133. $(DESTDIR)\GetShipIsStoppedCondition.obj: $(PCHFILE)
  134. $(DESTDIR)\GetShipIsDamagedCondition.obj: $(PCHFILE)
  135. $(DESTDIR)\GetShipHasAmmoCondition.obj: $(PCHFILE)
  136. $(DESTDIR)\GetShipHasCargoCondition.obj: $(PCHFILE)
  137. $(DESTDIR)\GetAutopilotCondition.obj: $(PCHFILE)
  138. $(DESTDIR)\GetTargetCondition.obj: $(PCHFILE)
  139. $(DESTDIR)\GetSectorCondition.obj: $(PCHFILE)
  140. $(DESTDIR)\GetViewSectorCondition.obj: $(PCHFILE)
  141. $(DESTDIR)\GetCommandCondition.obj: $(PCHFILE)
  142. $(DESTDIR)\GetProbeCountCondition.obj: $(PCHFILE)
  143. $(DESTDIR)\GetKeyCondition.obj: $(PCHFILE)
  144. $(DESTDIR)\GetChatCondition.obj: $(PCHFILE)
  145. $(DESTDIR)\ProxyCondition.obj: $(PCHFILE)
  146. $(DESTDIR)\Predicate.obj: $(PCHFILE)
  147. $(DESTDIR)\Action.obj: $(PCHFILE)
  148. $(DESTDIR)\ActionList.obj: $(PCHFILE)
  149. $(DESTDIR)\NoAction.obj: $(PCHFILE)
  150. $(DESTDIR)\OneTimeAction.obj: $(PCHFILE)
  151. $(DESTDIR)\ProxyAction.obj: $(PCHFILE)
  152. $(DESTDIR)\SetDisplayModeAction.obj: $(PCHFILE)
  153. $(DESTDIR)\SetHUDOverlayAction.obj: $(PCHFILE)
  154. $(DESTDIR)\EndMissionAction.obj: $(PCHFILE)
  155. $(DESTDIR)\ResetAction.obj: $(PCHFILE)
  156. $(DESTDIR)\ResetShipAction.obj: $(PCHFILE)
  157. $(DESTDIR)\ConditionalAction.obj: $(PCHFILE)
  158. $(DESTDIR)\MessageAction.obj: $(PCHFILE)
  159. $(DESTDIR)\PlaySoundAction.obj: $(PCHFILE)
  160. $(DESTDIR)\SetCommandAction.obj: $(PCHFILE)
  161. $(DESTDIR)\SetSignatureAction.obj: $(PCHFILE)
  162. $(DESTDIR)\SetRadarLODAction.obj: $(PCHFILE)
  163. $(DESTDIR)\SetAutopilotAction.obj: $(PCHFILE)
  164. $(DESTDIR)\SetControlConstraintsAction.obj: $(PCHFILE)
  165. $(DESTDIR)\SetControlsAction.obj: $(PCHFILE)
  166. $(DESTDIR)\ShowPaneAction.obj: $(PCHFILE)
  167. $(DESTDIR)\ShowEyeballAction.obj: $(PCHFILE)
  168. $(DESTDIR)\ReleaseConsumerAction.obj: $(PCHFILE)
  169. $(DESTDIR)\CreateObjectAction.obj: $(PCHFILE)
  170. $(DESTDIR)\CreateProbeAction.obj: $(PCHFILE)
  171. $(DESTDIR)\CreateDroneAction.obj: $(PCHFILE)
  172. $(DESTDIR)\CreateWaypointAction.obj: $(PCHFILE)
  173. $(DESTDIR)\TurnToAction.obj: $(PCHFILE)
  174. $(DESTDIR)\ToggleWeaponAction.obj: $(PCHFILE)
  175. $(DESTDIR)\SwapWeaponAction.obj: $(PCHFILE)
  176. $(DESTDIR)\DoDamageAction.obj: $(PCHFILE)
  177. $(DESTDIR)\RepairRearmAction.obj: $(PCHFILE)
  178. $(DESTDIR)\ShipSeesObjectCondition.obj: $(PCHFILE)
  179. $(DESTDIR)\GetPickedCondition.obj: $(PCHFILE)
  180. $(DESTDIR)\Goal.obj: $(PCHFILE)
  181. $(DESTDIR)\GoalList.obj: $(PCHFILE)
  182. $(DESTDIR)\Training.obj: $(PCHFILE)
  183. $(DESTDIR)\TrainingMission.obj: $(PCHFILE)
  184. $(DESTDIR)\AbstractTarget.obj: $(PCHFILE)
  185. $(DESTDIR)\TypeIDTarget.obj: $(PCHFILE)
  186. $(DESTDIR)\CurrentTarget.obj: $(PCHFILE)
  187. $(DESTDIR)\PlayerShipTarget.obj: $(PCHFILE)
  188. $(DESTDIR)\Mission2.obj: $(PCHFILE)
  189. $(DESTDIR)\Mission3.obj: $(PCHFILE)
  190. $(DESTDIR)\Mission4.obj: $(PCHFILE)
  191. $(DESTDIR)\Mission5.obj: $(PCHFILE)
  192. $(DESTDIR)\Mission6.obj: $(PCHFILE)