home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / prgramer / courses / makefile < prev    next >
Makefile  |  1992-10-11  |  3KB  |  77 lines

  1. HDIR=c:/watcom/h
  2. LIBDIR=c:/watcom/lib386/os2
  3.  
  4. LIBRARY=curses$A
  5.  
  6. CFLAGS+=-omaxet -zp4 -4r -fpi87 -i=.
  7. #CFLAGS+=-d2 -i=.
  8.  
  9. HDRS=    curses.h curspriv.h
  10.  
  11. OBJS=   attrib$O   beep$O     border$O   boxes$O     \
  12.     charadd$O  chardel$O  charget$O  charins$O   \
  13.     charpick$O clrtobot$O clrtoeol$O endwin$O    \
  14.     initscr$O  linedel$O  lineins$O  longname$O  \
  15.     move$O     mvcursor$O newwin$O   options$O   \
  16.     overlay$O  prntscan$O refresh$O  scrreg$O    \
  17.     setmode$O  setterm$O  stradd$O   strget$O    \
  18.     tabsize$O  termmisc$O unctrl$O   update$O    \
  19.      winclear$O windel$O   winerase$O winmove$O   \
  20.      winscrol$O wintouch$O cursesio$O getch$O     \
  21.     kbhit$O
  22.  
  23. all: $(LIBRARY)
  24.  
  25. $(LIBRARY): $(LIBRARY)({$(OBJS)})
  26.  
  27. install: "$(LIBDIR)/$(LIBRARY)"
  28.  
  29. "$(LIBDIR)/$(LIBRARY)": $(LIBRARY)
  30.     cp -p $(LIBRARY) $(LIBDIR)
  31.     cp -p $(HDRS) $(HDIR)
  32.  
  33. clean:
  34.     -rm -f $(OBJS) $(LIBRARY) *.lbc *.i *.out *.err
  35.  
  36. # Dependencies for individual modules
  37.  
  38. $(LIBRARY)(attrib$O):     $**.c $(HDRS)
  39. $(LIBRARY)(beep$O):       $**.c $(HDRS)
  40. $(LIBRARY)(border$O):     $**.c $(HDRS)
  41. $(LIBRARY)(boxes$O):      $**.c $(HDRS)
  42. $(LIBRARY)(charadd$O):    $**.c $(HDRS)
  43. $(LIBRARY)(chardel$O):    $**.c $(HDRS)
  44. $(LIBRARY)(charget$O):    $**.c $(HDRS)
  45. $(LIBRARY)(charins$O):    $**.c $(HDRS)
  46. $(LIBRARY)(charpick$O):   $**.c $(HDRS)
  47. $(LIBRARY)(clrtobot$O):   $**.c $(HDRS)
  48. $(LIBRARY)(clrtoeol$O):   $**.c $(HDRS)
  49. $(LIBRARY)(endwin$O):     $**.c $(HDRS)
  50. $(LIBRARY)(initscr$O):    $**.c $(HDRS)
  51. $(LIBRARY)(linedel$O):    $**.c $(HDRS)
  52. $(LIBRARY)(lineins$O):    $**.c $(HDRS)
  53. $(LIBRARY)(longname$O):   $**.c $(HDRS)
  54. $(LIBRARY)(move$O):       $**.c $(HDRS)
  55. $(LIBRARY)(mvcursor$O):   $**.c $(HDRS)
  56. $(LIBRARY)(newwin$O):     $**.c $(HDRS)
  57. $(LIBRARY)(options$O):    $**.c $(HDRS)
  58. $(LIBRARY)(overlay$O):    $**.c $(HDRS)
  59. $(LIBRARY)(prntscan$O):   $**.c $(HDRS)
  60. $(LIBRARY)(refresh$O):    $**.c $(HDRS)
  61. $(LIBRARY)(scrreg$O):     $**.c $(HDRS)
  62. $(LIBRARY)(setmode$O):    $**.c $(HDRS)
  63. $(LIBRARY)(setterm$O):    $**.c $(HDRS)
  64. $(LIBRARY)(stradd$O):     $**.c $(HDRS)
  65. $(LIBRARY)(strget$O):     $**.c $(HDRS)
  66. $(LIBRARY)(tabsize$O):    $**.c $(HDRS)
  67. $(LIBRARY)(termmisc$O):   $**.c $(HDRS)
  68. $(LIBRARY)(unctrl$O):     $**.c $(HDRS)
  69. $(LIBRARY)(update$O):     $**.c $(HDRS)
  70. $(LIBRARY)(winclear$O):   $**.c $(HDRS)
  71. $(LIBRARY)(windel$O):     $**.c $(HDRS)
  72. $(LIBRARY)(winerase$O):   $**.c $(HDRS)
  73. $(LIBRARY)(winmove$O):    $**.c $(HDRS)
  74. $(LIBRARY)(winscrol$O):   $**.c $(HDRS)
  75. $(LIBRARY)(wintouch$O):   $**.c $(HDRS)
  76. $(LIBRARY)(cursesio$O):   $**.c
  77.