makefile 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. #
  2. # Makefile for IGC.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=IGC
  25. MAINTARGROOT=IGC
  26. INCLUDELOCAL=$(FEDSRC)\igc;$(FEDSRC)\_Utility;$(FEDSRC)\Engine;$(FEDSRC)\ZLib;$(FEDSRC)\inc;$(FEDSRC)\clintlib;$(FEDSRC)\SoundEngine;$(FEDSRC)\WinTrek;$(FEDSRC)\offline;$(DESTDIR)
  27. PCHINC=$(FEDSRC)\ZLib\*.h $(FEDSRC)\_Utility\*.h $(FEDSRC)\igc\*.h
  28. PCHROOT=pch
  29. MAINTARGEXT=lib
  30. !include "..\makefile.inc"
  31. OBJS= $(DESTDIR)\ClusterIGC.obj \
  32. $(DESTDIR)\missionIGC.obj \
  33. $(DESTDIR)\HullTypeIGC.obj \
  34. $(DESTDIR)\ModelIGC.obj \
  35. $(DESTDIR)\PartTypeIGC.obj \
  36. $(DESTDIR)\asteroidIGC.obj \
  37. $(DESTDIR)\ProjectileTypeIGC.obj \
  38. $(DESTDIR)\WeaponIGC.obj \
  39. $(DESTDIR)\Private.obj \
  40. $(DESTDIR)\ProjectileIGC.obj \
  41. $(DESTDIR)\ShipIGC.obj \
  42. $(DESTDIR)\WarpIGC.obj \
  43. $(DESTDIR)\BuoyIGC.obj \
  44. $(DESTDIR)\ShieldIGC.obj \
  45. $(DESTDIR)\CloakIGC.obj \
  46. $(DESTDIR)\StationIGC.obj \
  47. $(DESTDIR)\TreasureIGC.obj \
  48. $(DESTDIR)\AfterburnerIGC.obj \
  49. $(DESTDIR)\packigc.obj \
  50. $(DESTDIR)\magazineigc.obj \
  51. $(DESTDIR)\dispenserigc.obj \
  52. $(DESTDIR)\missileTypeigc.obj \
  53. $(DESTDIR)\probeigc.obj \
  54. $(DESTDIR)\probetypeigc.obj \
  55. $(DESTDIR)\mineigc.obj \
  56. $(DESTDIR)\mineTypeigc.obj \
  57. $(DESTDIR)\missileigc.obj \
  58. $(DESTDIR)\launchertypeigc.obj \
  59. $(DESTDIR)\chafftypeigc.obj \
  60. $(DESTDIR)\chaffigc.obj \
  61. $(DESTDIR)\common.obj \
  62. $(DESTDIR)\civilizationIGC.obj \
  63. $(DESTDIR)\sideIGC.obj \
  64. $(DESTDIR)\stationTypeIGC.obj \
  65. $(DESTDIR)\droneTypeIGC.obj \
  66. $(DESTDIR)\developmentIGC.obj \
  67. $(DESTDIR)\bucketIGC.obj \
  68. $(DESTDIR)\treasuresetigc.obj \
  69. $(DESTDIR)\mapmakerigc.obj \
  70. $(DESTDIR)\pch.obj
  71. LIBARGS= $(NOLOGO) /out:$(MAINTARGFULLPATH)
  72. #
  73. # Dependecies start here
  74. #
  75. $(MAINTARGFULLPATH): $(DESTDIR) $(OBJS)
  76. lib $(LIBARGS) $(OBJS)
  77. $(DESTDIR)\ClusterIGC.obj: $(PCHFILE)
  78. $(DESTDIR)\missionIGC.obj: $(PCHFILE)
  79. $(DESTDIR)\HullTypeIGC.obj: $(PCHFILE)
  80. $(DESTDIR)\ModelIGC.obj: $(PCHFILE)
  81. $(DESTDIR)\PartTypeIGC.obj: $(PCHFILE)
  82. $(DESTDIR)\asteroidIGC.obj: $(PCHFILE)
  83. $(DESTDIR)\ProjectileTypeIGC.obj: $(PCHFILE)
  84. $(DESTDIR)\WeaponIGC.obj: $(PCHFILE)
  85. $(DESTDIR)\Private.obj: $(PCHFILE)
  86. $(DESTDIR)\ProjectileIGC.obj: $(PCHFILE)
  87. $(DESTDIR)\ShipIGC.obj: $(PCHFILE)
  88. $(DESTDIR)\WarpIGC.obj: $(PCHFILE)
  89. $(DESTDIR)\BuoyIGC.obj: $(PCHFILE)
  90. $(DESTDIR)\ShieldIGC.obj: $(PCHFILE)
  91. $(DESTDIR)\CloakIGC.obj: $(PCHFILE)
  92. $(DESTDIR)\StationIGC.obj: $(PCHFILE)
  93. $(DESTDIR)\TreasureIGC.obj: $(PCHFILE)
  94. $(DESTDIR)\AfterburnerIGC.obj: $(PCHFILE)
  95. $(DESTDIR)\PackIGC.obj: $(PCHFILE)
  96. $(DESTDIR)\MagazineIGC.obj: $(PCHFILE)
  97. $(DESTDIR)\DispenserIGC.obj: $(PCHFILE)
  98. $(DESTDIR)\MissileTypeIGC.obj: $(PCHFILE)
  99. $(DESTDIR)\ProbeIGC.obj: $(PCHFILE)
  100. $(DESTDIR)\ProbeTypeIGC.obj: $(PCHFILE)
  101. $(DESTDIR)\MineIGC.obj: $(PCHFILE)
  102. $(DESTDIR)\MineTypeIGC.obj: $(PCHFILE)
  103. $(DESTDIR)\launcherTypeIGC.obj: $(PCHFILE)
  104. $(DESTDIR)\MissileIGC.obj: $(PCHFILE)
  105. $(DESTDIR)\common.obj: $(PCHFILE)
  106. $(DESTDIR)\BuildingEffectIGC.obj: $(PCHFILE)
  107. $(DESTDIR)\chaffTypeigc.obj: $(PCHFILE)
  108. $(DESTDIR)\chaffigc.obj: $(PCHFILE)
  109. $(DESTDIR)\civilizationIGC.obj: $(PCHFILE)
  110. $(DESTDIR)\stationTypeIGC.obj: $(PCHFILE)
  111. $(DESTDIR)\sideIGC.obj: $(PCHFILE)
  112. $(DESTDIR)\droneTypeIGC.obj: $(PCHFILE)
  113. $(DESTDIR)\bucketIGC.obj: $(PCHFILE)
  114. $(DESTDIR)\mapmakerIGC.obj: $(PCHFILE)
  115. $(DESTDIR)\treasuresetigc.obj: $(PCHFILE)
  116. $(DESTDIR)\developmentIGC.obj: $(PCHFILE)