home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 001-099 / ff039.lzh / Driver / makefile < prev    next >
Makefile  |  1986-10-23  |  968b  |  32 lines

  1.  
  2. #******************************************************************
  3. #*                                                                *
  4. #* Copyright (C) 1986, Commodore Amiga Inc.  All rights reserved. *
  5. #* Permission granted for non-commercial use             *                                *
  6. #*                                                                *
  7. #******************************************************************
  8.  
  9. OBJ = mydev.o testdev.o
  10.  
  11. .asm.o:
  12.     echo "Assembling $*.asm"
  13.     Assem $*.asm -o $@ -i :include -c S -c W150000 -v $*.err
  14.  
  15. tdev: mydev.device testdev
  16.     echo "DONE!"
  17.  
  18. testdev: testdev.o
  19.     echo "Linking $*"
  20.     alink FROM startup.obj+testdev.o to testdev LIBRARY SYS:lib/amiga.lib ver tlink.err
  21.  
  22. $(OBJ) : mydev.i asmsupp.i
  23.  
  24. mydev.device:    mydev.o
  25.     echo "Linking $@"
  26.     alink FROM mydev.o to mydev.device LIBRARY SYS:lib/amiga.lib+\
  27. sys:lib/debug.lib ver mlink.err
  28.     echo "Copying $@ to devs:"
  29.     copy $@ devs:$@
  30.     echo "Copying $* to df0:expansion:"
  31.     copy mydev.device df0:expansion/$*
  32.