MAKEFILE 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. # TIC.EXE and HERETIC.EXE makefile
  2. # --------------------------------------------------------------------------
  3. #
  4. # 4r use 80486 timings and register argument passing
  5. # c compile only
  6. # d1 include line number debugging information
  7. # d2 include full sybolic debugging information
  8. # ei force enums to be of type int
  9. # j change char default from unsigned to signed
  10. # oa relax aliasing checking
  11. # od do not optimize
  12. # oe[=#] expand functions inline, # = quads (default 20)
  13. # oi use the inline library functions
  14. # om generate inline 80x87 code for math functions
  15. # ot optimize for time
  16. # ox maximum optimization
  17. # s remove stack overflow checks
  18. # zp1 align structures on bytes
  19. # zq use quiet mode
  20. # /i=dir add include directories
  21. #
  22. # --------------------------------------------------------------------------
  23. CCOPTS = /d2 /omaxet /zp1 /4r /ei /j /zq /i=dmx
  24. LOCOBJS = &
  25. i_cyber.obj &
  26. i_ibm_a.obj &
  27. i_sound.obj &
  28. linear.obj
  29. GLOBOBJS = &
  30. am_map.obj &
  31. ct_chat.obj &
  32. d_main.obj &
  33. d_net.obj &
  34. g_game.obj &
  35. f_finale.obj &
  36. info.obj &
  37. in_lude.obj &
  38. mn_menu.obj &
  39. m_misc.obj &
  40. p_ceilng.obj &
  41. p_doors.obj &
  42. p_enemy.obj &
  43. p_floor.obj &
  44. p_inter.obj &
  45. p_lights.obj &
  46. p_map.obj &
  47. p_maputl.obj &
  48. p_mobj.obj &
  49. p_plats.obj &
  50. p_pspr.obj &
  51. p_setup.obj &
  52. p_sight.obj &
  53. p_spec.obj &
  54. p_switch.obj &
  55. p_telept.obj &
  56. p_tick.obj &
  57. p_user.obj &
  58. r_bsp.obj &
  59. r_data.obj &
  60. r_draw.obj &
  61. r_main.obj &
  62. r_plane.obj &
  63. r_segs.obj &
  64. r_things.obj &
  65. sb_bar.obj &
  66. sounds.obj &
  67. tables.obj &
  68. v_video.obj &
  69. w_wad.obj &
  70. z_zone.obj
  71. tic.exe : $(LOCOBJS) $(GLOBOBJS) i_ibm.obj
  72. wlink @tic.lnk
  73. copy tic.exe striptic.exe
  74. wstrip striptic.exe
  75. 4gwbind 4gwpro.exe striptic.exe heretic.exe -V
  76. prsucc
  77. i_ibm.obj:
  78. wcc386 /zp1 /4r /zq /ei /j i_ibm.c
  79. .c.obj :
  80. wcc386 $(CCOPTS) $[*
  81. .asm.obj :
  82. tasm /mx $[*
  83. clean : .SYMBOLIC
  84. del *.obj
  85. del tic.exe