MAKEFILE 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. #
  2. # $Source: f:/miner/source/texmap/rcs/makefile $
  3. # $Revision: 1.23 $
  4. # $Author: john $
  5. # $Date: 1995/02/20 18:23:00 $
  6. #
  7. # Makefile for hack3df testbed
  8. #
  9. LIBDIR = ..\main
  10. #
  11. CCFLAGS = /dNETWORK /dRELEASE /dNDEBUG
  12. #Uncomment the following 3 lines if you want to build with only C code.
  13. #NASM = 1
  14. #GLOBAL_CFLAGS+=/dNASM
  15. #GLOBAL_AFLAGS+=/DNASM
  16. # What to install
  17. INSTALL_TARGS = texmap.lib texmap.h
  18. # What libs to build
  19. LIBS = texmap
  20. # What objs in the TEXMAP lib
  21. #TEXMAP_OBJS = ntmap.obj tmapsky.obj tmapv.obj tmapflat.obj tmap_per.obj tmap_p2.obj tmap_lin.obj tmap_ll.obj tmap_kl.obj\
  22. # tmap_ld.obj tmap_flt.obj tmap_sky.obj tmap_skv.obj tmap_fl1.obj tmapz.obj tmap_z.obj tmapfade.obj tmap_mul.obj
  23. TEXMAP_OBJS = ntmap.obj tmapflat.obj
  24. #%if !%defined(NASM)
  25. TEXMAP_OBJS += tmap_per.obj tmap_lin.obj tmap_ll.obj tmap_flt.obj tmapfade.obj tmap_fl1.obj
  26. #%else
  27. TEXMAP_OBJS += scanline.obj
  28. #%endif
  29. # What to clean
  30. CLEAN_TARGS = $(OBJDIR)\*.obj
  31. # What test programs to make
  32. TEST_PROGS = textest
  33. # What object files and libs for the test programs
  34. TEXTEST_SRCS = TEXTEST.obj
  35. TEXTEST_LIBS = TEXMAP.lib
  36. texmap.lib: $(TEXMAP_OBJS)
  37. wlib texmap.lib $(TEXMAP_OBJS)
  38. copy *.lib $(LIBDIR)
  39. lightabs.obj: lightabs.asm
  40. masm lightabs.asm
  41. ntmap.obj: ntmap.c
  42. wcc386 $(CCFLAGS) ntmap.c
  43. scanline.obj: scanline.c
  44. wcc386 $(CCFLAGS) scanline.c
  45. tmap_16.obj: tmap_16.asm
  46. masm tmap_16.asm
  47. tmap_16g.obj: tmap_16g.asm
  48. masm tmap_16g.asm
  49. tmap_16l.obj: tmap_16l.asm
  50. masm tmap_16l.asm
  51. tmap_16p.obj: tmap_16p.asm
  52. masm tmap_16p.asm
  53. tmap_16r.obj: tmap_16r.asm
  54. masm tmap_16r.asm
  55. tmap_aa.obj: tmap_aa.asm
  56. masm tmap_aa.asm
  57. tmap_fl1.obj: tmap_fl1.asm
  58. masm tmap_fl1.asm
  59. tmap_flt.obj: tmap_flt.asm
  60. masm tmap_flt.asm
  61. tmap_kl.obj: tmap_kl.asm
  62. masm tmap_kl.asm
  63. tmap_ld.obj: tmap_ld.asm
  64. masm tmap_ld.asm
  65. tmap_lin.obj: tmap_lin.asm
  66. masm tmap_lin.asm
  67. tmap_ll.obj: tmap_ll.asm
  68. masm tmap_ll.asm
  69. tmap_mul.obj: tmap_mul.asm
  70. masm tmap_mul.asm
  71. tmap_p2.obj: tmap_p2.asm
  72. masm tmap_p2.asm
  73. tmap_per.obj: tmap_per.asm
  74. masm tmap_per.asm
  75. tmap_rgb.obj: tmap_rgb.asm
  76. masm tmap_rgb.asm
  77. tmap_skv.obj: tmap_skv.asm
  78. masm tmap_skv.asm
  79. tmap_sky.obj: tmap_sky.asm
  80. masm tmap_sky.asm
  81. tmap_z.obj: tmap_z.asm
  82. masm tmap_z.asm
  83. tmapdith.obj: tmapdith.asm
  84. masm tmapdith.asm
  85. tmapfade.obj: tmapfade.asm
  86. masm tmapfade.asm
  87. tmapflat.obj: tmapflat.c
  88. wcc386 $(CCFLAGS) tmapflat.c
  89. tmapsky.obj: tmapsky.asm
  90. masm tmapsky.asm
  91. tmapv.obj: tmapv.asm
  92. masm tmapv.asm
  93. tmapz.obj: tmapz.asm
  94. masm tmapz.asm
  95.