Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile.wfx 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. # Mesa 3-D graphics library
  2. # Version: 5.1
  3. #
  4. # Copyright (C) 1999-2003 Brian Paul All Rights Reserved.
  5. #
  6. # Permission is hereby granted, free of charge, to any person obtaining a
  7. # copy of this software and associated documentation files (the "Software"),
  8. # to deal in the Software without restriction, including without limitation
  9. # the rights to use, copy, modify, merge, publish, distribute, sublicense,
  10. # and/or sell copies of the Software, and to permit persons to whom the
  11. # Software is furnished to do so, subject to the following conditions:
  12. #
  13. # The above copyright notice and this permission notice shall be included
  14. # in all copies or substantial portions of the Software.
  15. #
  16. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  17. # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  18. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  19. # BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  20. # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  21. # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  22. # Win32/FX makefile for Mesa
  23. #
  24. # Copyright (c) 2003 - Hiroshi Morii
  25. # Email : koolsmoky@users.sourceforge.net
  26. # URL : http://www.3dfxzone.it/koolsmoky
  27. # Debug build : nmake -f Makefile.wfx debug
  28. # Optimized build : nmake -f Makefile.wfx
  29. # Remove objects : nmake -f Makefile.wfx clean
  30. # Remove files in bin, lib : nmake -f Makefile.wfx clobber
  31. # Remove all generated files : nmake -f Makefile.wfx realclean
  32. # Build the libs
  33. SUBDIRS = src\mesa.dir
  34. DBGBUILD = $(SUBDIRS:.dir=.debug)
  35. CLEAN = $(SUBDIRS:.dir=.clean)
  36. CLOBBER = $(SUBDIRS:.dir=.clobber)
  37. REALCLEAN = $(SUBDIRS:.dir=.realclean)
  38. LIBDIR = lib
  39. # default rule
  40. default : $(LIBDIR) $(SUBDIRS)
  41. # debug build rules
  42. debug : $(LIBDIR) $(DBGBUILD)
  43. # cleanup rules
  44. clean : $(CLEAN)
  45. clobber : $(CLOBBER)
  46. realclean : $(REALCLEAN)
  47. # inference rules
  48. $(LIBDIR):
  49. @echo.
  50. @mkdir $(LIBDIR)
  51. $(SUBDIRS):
  52. @echo.
  53. @cd $*
  54. @nmake -f Makefile.wfx
  55. @cd ..
  56. $(DBGBUILD):
  57. @echo.
  58. @cd $*
  59. @nmake -f Makefile.wfx DEBUG=1
  60. @cd ..
  61. $(CLEAN):
  62. @echo.
  63. @cd $*
  64. @nmake -f Makefile.wfx clean
  65. @cd ..
  66. $(CLOBBER):
  67. @echo.
  68. @cd $*
  69. @nmake -f Makefile.wfx clobber
  70. @cd ..
  71. $(REALCLEAN):
  72. @echo.
  73. @cd $*
  74. @nmake -f Makefile.wfx realclean
  75. @cd ..