home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c100 / 1.ddi / MOUSE.ZIP / MAKEFILE < prev    next >
Encoding:
Text File  |  1990-07-11  |  1.1 KB  |  57 lines

  1. #
  2. #    Makefile for Mouse Library using Turbo C
  3. #
  4. INCLUDE= \tc\include
  5. LIB= \tc\lib
  6. CFLAGS=     -f- -G  -N- -O -Qe- -v- -Z  -K -I$(INCLUDE)
  7. !if !$d(MODEL)
  8. MODEL=s
  9. !endif
  10. OBJS=    m_init.obj \
  11.     m_condit.obj \
  12.     m_displa.obj \
  13.     m_event.obj \
  14.     m_graph_.obj \
  15.     m_light_.obj \
  16.     m_locate.obj \
  17.     m_motion.obj \
  18.     m_press.obj \
  19.     m_ratio.obj \
  20.     m_releas.obj \
  21.     m_speed.obj \
  22.     m_status.obj \
  23.     m_text_c.obj \
  24.     m_window.obj
  25.  
  26. all:
  27.     @echo Making -m$(MODEL) model mouse library
  28.     del *.obj
  29.     del mouse_$(MODEL).lib
  30.     @make -DMODEL=$(MODEL) mlib
  31.  
  32. mlib:    $(OBJS)
  33.     tlib mouse_$(MODEL) @names.res
  34.  
  35. clean:
  36.     del *.lib
  37.     del *.obj
  38.  
  39. .c.obj:
  40.     tcc -c -m$(MODEL) $(CFLAGS) $<
  41.  
  42. m_init.obj: m_init.c mouse.h
  43. m_condit.obj: m_condit.c mouse.h
  44. m_displa.obj: m_displa.c mouse.h
  45. m_event.obj: m_event.c mouse.h
  46. m_graph_.obj: m_graph_.c mouse.h
  47. m_light_.obj: m_light_.c mouse.h
  48. m_locate.obj: m_locate.c mouse.h
  49. m_motion.obj: m_motion.c mouse.h
  50. m_press.obj: m_press.c mouse.h
  51. m_ratio.obj: m_ratio.c mouse.h
  52. m_releas.obj: m_releas.c mouse.h
  53. m_speed.obj: m_speed.c mouse.h
  54. m_status.obj: m_status.c mouse.h
  55. m_text_c.obj: m_text_c.c mouse.h
  56. m_window.obj: m_window.c mouse.h
  57.