home *** CD-ROM | disk | FTP | other *** search
/ Mega CD-ROM 1 / megacd_rom_1.zip / megacd_rom_1 / MAGAZINE / PROGJOUR / PJ_9_4.ZIP / MAKEFILE.BCC < prev    next >
Text File  |  1991-05-03  |  2KB  |  49 lines

  1. # makefile to produce viewport.lib.  Uses Borland's make.
  2.  
  3. .c.obj:
  4.     bcc -c -v $*.c
  5.  
  6. OBJ1 = v_constr.obj v_fill_s.obj v_gotorc.obj v_putc.obj v_save_s.obj
  7. OBJ2 = v_startu.obj v_clear.obj v_deacti.obj v_getc.obj v_move.obj
  8. OBJ3 = v_puts.obj v_scroll.obj v_close.obj v_destroy.obj
  9. OBJ4 = v_gets.obj v_open.obj v_restor.obj v_size.obj
  10. OBJ  = $(OBJ1) $(OBJ2) $(OBJ3) $(OBJ4)
  11.  
  12. viewport.lib: $(OBJ)
  13.     tlib /C viewport.lib @&&!
  14. -+v_constr.obj -+v_fill_s.obj -+v_gotorc.obj -+v_putc.obj  -+v_save_s.obj &
  15. -+v_startu.obj -+v_clear.obj  -+v_deacti.obj -+v_getc.obj  -+v_move.obj   &
  16. -+v_puts.obj   -+v_scroll.obj -+v_close.obj  -+v_destroy.obj              &
  17. -+v_gets.obj   -+v_open.obj   -+v_restor.obj -+v_size.obj
  18. nul
  19. !
  20.  
  21. v_constr.obj:   v_constr.c      /include/tools/viewport.h
  22. v_fill_s.obj:   v_fill_s.c      /include/tools/viewport.h
  23. v_gotorc.obj:   v_gotorc.c      /include/tools/viewport.h
  24. v_putc.obj:     v_putc.c        /include/tools/viewport.h
  25. v_save_s.obj:   v_save_s.c      /include/tools/viewport.h
  26. v_startu.obj:   v_startu.c      /include/tools/viewport.h
  27. v_clear.obj:    v_clear.c       /include/tools/viewport.h
  28. v_deacti.obj:   v_deacti.c      /include/tools/viewport.h
  29. v_getc.obj:     v_getc.c        /include/tools/viewport.h
  30. v_move.obj:     v_move.c        /include/tools/viewport.h
  31. v_puts.obj:     v_puts.c        /include/tools/viewport.h
  32. v_scroll.obj:   v_scroll.c      /include/tools/viewport.h
  33. v_close.obj:    v_close.c       /include/tools/viewport.h
  34. v_destroy.obj:  v_destroy.c     /include/tools/viewport.h
  35. v_gets.obj:     v_gets.c        /include/tools/viewport.h
  36. v_open.obj:     v_open.c        /include/tools/viewport.h
  37. v_restor.obj:   v_restor.c      /include/tools/viewport.h
  38. v_size.obj:     v_size.c        /include/tools/viewport.h
  39.  
  40. viewport.exe:   viewport.c      /include/tools/viewport.h viewport.lib
  41.     bcc -v viewport.c @&&!
  42. v_constr.obj v_fill_s.obj v_gotorc.obj v_putc.obj  v_save_s.obj
  43. v_startu.obj v_clear.obj  v_deacti.obj v_getc.obj  v_move.obj
  44. v_puts.obj   v_scroll.obj v_close.obj  v_destroy.obj
  45. v_gets.obj   v_open.obj   v_restor.obj v_size.obj
  46. !
  47.  
  48.  
  49.