home *** CD-ROM | disk | FTP | other *** search
/ ftp.shrubbery.net / 2015-02-07.ftp.shrubbery.net.tar / ftp.shrubbery.net / pub / pc / unix / unx.arc / MAKEFILE < prev    next >
Text File  |  1986-06-02  |  2KB  |  82 lines

  1. ## makefile for Dan's utilities
  2.  
  3. OBJS = args.obj cat.obj df.obj exist.obj ffind.obj findbad.obj fio.obj \
  4. line1.obj ls.obj more.obj mv.obj prot.obj rm.obj unsetraw.obj setdir.obj \
  5. setraw.obj sprintf.obj strings.obj touch.obj unprot.obj whereis.obj
  6.  
  7. PROGS = cat.com df.com exist.com findbad.com line1.com ls.com more.com mv.com \
  8. prot.com rm.com unsetraw.com setdir.com touch.com unprot.com whereis.com
  9.  
  10.  
  11. default: $(PROGS)
  12.     rm *.exe
  13.     prot args.obj
  14.     prot sprintf.obj
  15.     prot strings.obj
  16.     rm *.obj
  17.  
  18. $(OBJS): $*.asm
  19.     masm $*;
  20.  
  21. df.com:        df.obj sprintf.obj args.obj
  22.     link df sprintf args;
  23.     exe2bin df df.com
  24.  
  25. cat.com:    cat.obj args.obj fio.obj ffind.obj
  26.     link cat fio ffind args;
  27.     exe2bin cat cat.com
  28.  
  29. exist.com:    exist.obj args.obj
  30.     link exist args;
  31.     exe2bin exist exist.com
  32.  
  33. findbad.com:    findbad.obj sprintf.obj strings.obj args.obj
  34.     link findbad sprintf strings args;
  35.     exe2bin findbad findbad.com
  36.  
  37. line1.com:    line1.obj ffind.obj fio.obj args.obj
  38.     link line1 ffind fio args;
  39.     exe2bin line1 line1.com
  40.  
  41. ls.com:        ls.obj ffind.obj sprintf.obj strings.obj args.obj
  42.     link ls ffind sprintf strings args;
  43.     exe2bin ls ls.com
  44.  
  45. more.com:    more.obj setraw.obj args.obj
  46.     link more setraw args;
  47.     exe2bin more more.com
  48.  
  49. mv.com:    mv.obj ffind.obj args.obj
  50.     link mv ffind args;
  51.     exe2bin mv mv.com
  52.  
  53. prot.com: prot.obj ffind.obj args.obj
  54.     link prot ffind args;
  55.     exe2bin prot prot.com
  56.  
  57. rm.com:        rm.obj ffind.obj strings.obj args.obj
  58.     link rm ffind strings args;
  59.     exe2bin rm rm.com
  60.  
  61. unsetraw.com:    unsetraw.obj args.obj
  62.     link unsetraw args;
  63.     exe2bin unsetraw unsetraw.com
  64.  
  65. setdir.com:    setdir.obj args.obj
  66.     link setdir args;
  67.     exe2bin setdir setdir.com
  68.  
  69. touch.com:    touch.obj ffind.obj args.obj
  70.     link touch ffind args;
  71.     exe2bin touch touch.com
  72.  
  73. unprot.com:    unprot.obj ffind.obj args.obj
  74.     link unprot ffind args;
  75.     exe2bin unprot unprot.com
  76.  
  77. whereis.com:    whereis.obj
  78.     link whereis;
  79.     exe2bin whereis whereis.com
  80.  
  81.  
  82.