home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / Vector18.lha / ParNetExample / dmakefile < prev    next >
Encoding:
Makefile  |  1993-12-18  |  1.0 KB  |  36 lines

  1. #/*
  2. # * This code was originally written by Matthew Dillon and put into Public Domain
  3. # *
  4. # * All changes concerning the adaption of Matt's original code to the
  5. # * Vector Connection I/O board are © 1991-1993 by Henning Schmiedehausen
  6. # * All rights for this changes are reserved. The original code is Public Domain
  7. # *
  8. # * This code is distributed with the expressed written permission of Matthew
  9. # * Dillon (Thank you very much, Matt)
  10. # *
  11. # */
  12.  
  13. OD =
  14. EXE= parnet.device
  15.  
  16. CFLAGS=
  17. AFLAGS= -iasminclude:
  18.  
  19. CSRCS= parnet.c task.c unit_ctl.c unit_dgr.c unit_str.c
  20. ASRCS= tag.asm pio_wakeup.asm pio.asm lock.asm
  21. #ASRCS= tag.asm wakeup.asm par.asm lock.asm
  22.  
  23. COBJS= $(CSRCS:"*.c":"$(OD)*.o")
  24. AOBJS= $(ASRCS:"*.asm":"$(OD)*.o")
  25.  
  26. #     dlink  $(AOBJS) $(COBJS) -o %(left) dlib:cs.lib dlib:amigas20.lib
  27.  
  28. $(EXE) : $(COBJS) $(AOBJS)
  29.     slink from $(AOBJS) $(COBJS) ADDSYM SC SD TO %(left) LIB lib:sc.lib lib:amiga.lib BATCH STRIPDEBUG
  30.  
  31. $(COBJS) : $(CSRCS)
  32.     dcc $(CFLAGS) -o %(left) %(right) -c
  33.  
  34. $(AOBJS) : $(ASRCS)
  35.     a68k $(AFLAGS) -o%(left) %(right)
  36.