makefile 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. #
  2. # Makefile for ZLib.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=ZLib
  25. MAINTARGEXT=lib
  26. INCLUDELOCAL=$(FEDSRC)\ZLib
  27. PCHROOT=pch
  28. NODEPENDENCIES=1
  29. !include "..\makefile.inc"
  30. OBJS= $(DESTDIR)\zlib.obj \
  31. $(DESTDIR)\ztime.obj \
  32. $(DESTDIR)\token.obj \
  33. $(DESTDIR)\zstring.obj \
  34. $(DESTDIR)\window.obj \
  35. !IFDEF DREAMCAST
  36. $(DESTDIR)\dcbase.obj \
  37. !ELSE
  38. # $(DESTDIR)\dialog.obj \
  39. $(DESTDIR)\base.obj \
  40. !ENDIF
  41. $(DESTDIR)\win32app.obj \
  42. $(DESTDIR)\tlist.obj \
  43. $(DESTDIR)\matrix.obj \
  44. $(DESTDIR)\matrix2.obj \
  45. $(DESTDIR)\orientation.obj \
  46. $(DESTDIR)\quaternion.obj \
  47. $(DESTDIR)\color.obj \
  48. $(DESTDIR)\event.obj \
  49. $(DESTDIR)\input.obj \
  50. $(DESTDIR)\vector.obj \
  51. $(DESTDIR)\VersionInfo.obj \
  52. $(DESTDIR)\FTPSession.obj \
  53. $(DESTDIR)\pch.obj
  54. #
  55. # Dependecies start here
  56. #
  57. $(MAINTARGFULLPATH): $(DESTDIR) $(OBJS)
  58. $(LIB) $(LIBARGS) $(OBJS)
  59. $(DESTDIR)\zlib.obj: $(PCHFILE)
  60. $(DESTDIR)\ztime.obj: $(PCHFILE)
  61. $(DESTDIR)\token.obj: $(PCHFILE)
  62. $(DESTDIR)\zstring.obj: $(PCHFILE)
  63. $(DESTDIR)\tlist.obj: $(PCHFILE)
  64. $(DESTDIR)\window.obj: $(PCHFILE)
  65. $(DESTDIR)\dialog.obj: $(PCHFILE)
  66. $(DESTDIR)\win32app.obj: $(PCHFILE)
  67. $(DESTDIR)\matrix.obj: $(PCHFILE)
  68. $(DESTDIR)\matrix2.obj: $(PCHFILE)
  69. $(DESTDIR)\orientation.obj: $(PCHFILE)
  70. $(DESTDIR)\quaternion.obj: $(PCHFILE)
  71. $(DESTDIR)\color.obj: $(PCHFILE)
  72. $(DESTDIR)\event.obj: $(PCHFILE)
  73. $(DESTDIR)\base.obj: $(PCHFILE)
  74. $(DESTDIR)\input.obj: $(PCHFILE)
  75. $(DESTDIR)\VersionInfo.obj: $(PCHFILE)
  76. $(DESTDIR)\FTPSession.obj: $(PCHFILE)