makefile 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. #
  2. # Makefile for Engine.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. MAINTARGROOT=Effect
  25. MAINTARGEXT=lib
  26. INCLUDELOCAL=$(FEDSRC)\Effect;$(FEDSRC)\Engine;$(FEDSRC)\ZLib
  27. PCHINC=$(FEDSRC)\Engine\*.h $(FEDSRC)\ZLib\*.h
  28. PCHROOT=pch
  29. NODEPENDENCIES=1
  30. !include "..\makefile.inc"
  31. OBJS= \
  32. $(DESTDIR)\ConeGeo.obj \
  33. $(DESTDIR)\comboPane.obj \
  34. $(DESTDIR)\ThingGeo.obj \
  35. $(DESTDIR)\explosion.obj \
  36. $(DESTDIR)\starimage.obj \
  37. $(DESTDIR)\debrisgeo.obj \
  38. $(DESTDIR)\alephgeo.obj \
  39. $(DESTDIR)\particlegeo.obj \
  40. $(DESTDIR)\efgeo.obj \
  41. $(DESTDIR)\efimage.obj \
  42. $(DESTDIR)\efpopup.obj \
  43. $(DESTDIR)\efapp.obj \
  44. $(DESTDIR)\efwindow.obj \
  45. $(DESTDIR)\efpane.obj \
  46. $(DESTDIR)\mmlpopup.obj \
  47. $(DESTDIR)\gamestate.obj \
  48. $(DESTDIR)\framedata.obj \
  49. $(DESTDIR)\help.obj \
  50. $(DESTDIR)\pagepane.obj \
  51. $(DESTDIR)\navpane.obj \
  52. $(DESTDIR)\ListPane.obj
  53. #
  54. # Dependecies start here
  55. #
  56. $(MAINTARGFULLPATH): $(DESTDIR) $(OBJS)
  57. lib $(LIBARGS) $(OBJS)
  58. $(DESTDIR)\ConeGeo.obj: $(PCHFILE)
  59. $(DESTDIR)\ThingGeo.obj: $(PCHFILE)
  60. $(DESTDIR)\starimage.obj: $(PCHFILE)
  61. $(DESTDIR)\debrisgeo.obj: $(PCHFILE)
  62. $(DESTDIR)\alephgeo.obj: $(PCHFILE)
  63. $(DESTDIR)\particlegeo.obj: $(PCHFILE)
  64. $(DESTDIR)\efgeo.obj: $(PCHFILE)
  65. $(DESTDIR)\efimage.obj: $(PCHFILE)
  66. $(DESTDIR)\efpopup.obj: $(PCHFILE)
  67. $(DESTDIR)\efapp.obj: $(PCHFILE)
  68. $(DESTDIR)\efwindow.obj: $(PCHFILE)
  69. $(DESTDIR)\efpane.obj: $(PCHFILE)
  70. $(DESTDIR)\mmlpopup.obj: $(PCHFILE)
  71. $(DESTDIR)\gamestate.obj: $(PCHFILE)
  72. $(DESTDIR)\framedata.obj: $(PCHFILE)
  73. $(DESTDIR)\listpane.obj: $(PCHFILE)
  74. $(DESTDIR)\combopane.obj: $(PCHFILE)
  75. $(DESTDIR)\explosion.obj: $(PCHFILE)
  76. $(DESTDIR)\help.obj: $(PCHFILE)
  77. $(DESTDIR)\pagepane.obj: $(PCHFILE)
  78. $(DESTDIR)\navpane.obj: $(PCHFILE)