makefile 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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=clintlib
  25. MAINTARGROOT=clintlib
  26. INCLUDELOCAL=$(FEDSRC)\igc;$(FEDSRC)\Utility;$(FEDSRC)\ZLib;$(FEDSRC)\WinTrek;$(DESTDIR);$(FEDSRC)\jpeg;$(FEDSRC)\clintlib;$(FEDSRC)\Zone;$(FEDSRC)\training;$(FEDSRC)\lobby;$(FEDSRC)\engine
  27. PCHINC=$(FEDSRC)\ZLib\*.h $(FEDSRC)\_Utility\*.h $(FEDSRC)\igc\*.h $(FEDSRC)\clintlib\*.h $(FEDSRC)\inc\*.h $(FEDSRC)\Zone\*.h $(FEDSRC)\lobby\messageslc.h $(FEDSRC)\lobby\messagesall.h $(FEDSRC)\club\clubmessages.h $(FEDSRC)\guids\*.h
  28. PCHROOT=pch
  29. MAINTARGEXT=lib
  30. !include "..\makefile.inc"
  31. OBJS= $(DESTDIR)\appmsg.obj \
  32. $(DESTDIR)\clintlib.obj \
  33. $(DESTDIR)\badwords.obj \
  34. $(DESTDIR)\AutoDownload.obj \
  35. $(DESTDIR)\pch.obj
  36. LIBARGS= $(NOLOGO) /out:$(MAINTARGFULLPATH)
  37. #
  38. # Dependecies start here
  39. #
  40. $(MAINTARGFULLPATH): $(DESTDIR) $(OBJS)
  41. lib $(LIBARGS) $(OBJS)
  42. $(DESTDIR)\appmsg.obj: $(PCHFILE)
  43. $(DESTDIR)\clintlib.obj: $(PCHFILE)
  44. $(DESTDIR)\badwords.obj: $(PCHFILE)
  45. $(DESTDIR)\AutoDownload.obj: $(PCHFILE)