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.win 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. # Mesa 3-D graphics library
  2. # Version: 6.5
  3. # Copyright (C) 1995-2006 Brian Paul
  4. # Makefile for GLUT-based demo programs for Windows
  5. # Build the Mesa and GLUT libraries by using the Visual Studio
  6. # Workspaces in this distribution before running this Makefile.
  7. # Invocation: nmake -f Makefile.win
  8. NODEBUG=1
  9. !include <win32.mak>
  10. ##### MACROS #####
  11. TOP = ..\..
  12. INCDIR = ..\..\include
  13. LIBDIR = ..\..\lib
  14. LIBS = GLUT32.LIB OPENGL32.LIB
  15. all: OPENGL32.DLL GLU32.DLL GLUT32.DLL \
  16. readtex.h readtex.c showbuffer.h showbuffer.c \
  17. extfuncs.h trackball.h trackball.c \
  18. arbfplight.exe arbfslight.exe arbocclude.exe bounce.exe \
  19. clearspd.exe cubemap.exe drawpix.exe engine.exe \
  20. fire.exe fogcoord.exe \
  21. fplight.exe fslight.exe gamma.exe gearbox.exe \
  22. gears.exe geartrain.exe gloss.exe \
  23. glinfo.exe glslnoise.exe \
  24. gltestperf.exe glutfx.exe ipers.exe isosurf.exe lodbias.exe \
  25. morph3d.exe multiarb.exe occlude.exe paltex.exe pointblast.exe \
  26. ray.exe readpix.exe reflect.exe renormal.exe \
  27. shadowtex.exe singlebuffer.exe spectex.exe spriteblast.exe \
  28. stex3d.exe teapot.exe terrain.exe tessdemo.exe texcyl.exe \
  29. texdown.exe texenv.exe texobj.exe trispd.exe tunnel.exe tunnel2.exe \
  30. winpos.exe
  31. arbfplight.exe: arbfplight.obj
  32. arbfslight.exe: arbfslight.obj
  33. arbocclude.exe: arbocclude.obj
  34. bounce.exe: bounce.obj
  35. clearspd.exe: clearspd.obj
  36. cubemap.exe: cubemap.obj readtex.obj
  37. drawpix.exe: drawpix.obj readtex.obj
  38. engine.exe: engine.obj readtex.obj trackball.obj
  39. fire.exe: fire.obj readtex.obj
  40. fogcoord.exe: fogcoord.obj readtex.obj
  41. fplight.exe: fplight.obj
  42. fslight.exe: fslight.obj
  43. gamma.exe: gamma.obj
  44. gearbox.exe: gearbox.obj
  45. gears.exe: gears.obj
  46. geartrain.exe: geartrain.obj
  47. gloss.exe: gloss.obj readtex.obj trackball.obj
  48. glinfo.exe: glinfo.obj
  49. glslnoise.exe: glslnoise.obj
  50. gltestperf.exe: gltestperf.obj
  51. glutfx.exe: glutfx.obj
  52. ipers.exe: ipers.obj readtex.obj
  53. isosurf.exe: isosurf.obj readtex.obj
  54. lodbias.exe: lodbias.obj readtex.obj
  55. morph3d.exe: morph3d.obj
  56. multiarb.exe: multiarb.obj readtex.obj
  57. occlude.exe: occlude.obj
  58. paltex.exe: paltex.obj
  59. pointblast.exe: pointblast.obj
  60. ray.exe: ray.obj
  61. readpix.exe: readpix.obj readtex.obj
  62. reflect.exe: reflect.obj readtex.obj showbuffer.obj
  63. renormal.exe: renormal.obj
  64. shadowtex.exe: shadowtex.obj showbuffer.obj
  65. singlebuffer.exe: singlebuffer.obj
  66. spectex.exe: spectex.obj
  67. spriteblast.exe: spriteblast.obj
  68. stex3d.exe: stex3d.obj
  69. teapot.exe: teapot.obj readtex.obj
  70. terrain.exe: terrain.obj
  71. tessdemo.exe: tessdemo.obj
  72. texcyl.exe: texcyl.obj readtex.obj
  73. texdown.exe: texdown.obj
  74. texenv.exe: texenv.obj
  75. texobj.exe: texobj.obj
  76. trispd.exe: trispd.obj
  77. tunnel.exe: tunnel.obj readtex.obj
  78. tunnel2.exe: tunnel2.obj readtex.obj
  79. winpos.exe: winpos.obj readtex.obj
  80. OPENGL32.DLL: $(LIBDIR)\OPENGL32.DLL
  81. copy $? .
  82. GLU32.DLL: $(LIBDIR)\GLU32.DLL
  83. copy $? .
  84. GLUT32.DLL: $(LIBDIR)\GLUT32.DLL
  85. copy $? .
  86. readtex.c: $(TOP)\progs\util\readtex.c
  87. copy $** .
  88. readtex.h: $(TOP)\progs\util\readtex.h
  89. copy $** .
  90. showbuffer.c: $(TOP)\progs\util\showbuffer.c
  91. copy $** .
  92. showbuffer.h: $(TOP)\progs\util\showbuffer.h
  93. copy $** .
  94. trackball.c: $(TOP)\progs\util\trackball.c
  95. copy $** .
  96. trackball.h: $(TOP)\progs\util\trackball.h
  97. copy $** .
  98. extfuncs.h: $(TOP)\progs\util\extfuncs.h
  99. copy $** .
  100. .obj.exe:
  101. $(link) $(ldebug) -out:$@ $** /LIBPATH:$(LIBDIR) $(LIBS)
  102. .c.obj:
  103. $(cc) $(cdebug) $(cflags) $(cvars) -D_USE_MATH_DEFINES /I$(INCDIR) $*.c
  104. clean::
  105. del *.obj *.exe readtex.* showbuffer.* trackball.*
  106. clobber::