home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 2 / amigaformatcd02.iso / comms / netsoftware / nethandler.lha / NetHandler / server / makefile < prev    next >
Encoding:
Makefile  |  1989-09-16  |  1.9 KB  |  61 lines

  1. #DEBUG  = -dDEBUG=1
  2. DEBUG  =
  3.  
  4. #LIBS   = lib:lc.lib lib:amiga.lib define _SysBase = _AbsExecBase
  5. LIBS   = lib:lc.lib lib:amiga.lib define _SysBase = 4
  6.  
  7. #LC1FLAGS = -cwusf -b -d $(DEBUG) -d2
  8. LC1FLAGS =  -cwusf -b -d $(DEBUG) -i/
  9. LC2FLAGS = -v
  10.  
  11. netdnet-server: netdnet-server.d
  12.    @blink from $+ to $@ nodebug
  13.  
  14. netser-server: netser-server.d
  15.    @blink from $+ to $@ nodebug
  16.  
  17. netpar-server: netpar-server.d
  18.    @blink from $+ to $@ nodebug
  19.  
  20. netsing-server: netsing-server.d
  21.    @blink from $+ to $@ nodebug
  22.  
  23. netdnet-server.d:  main.o /subs.o file.o dir.o io.o lock.o /sendpkt.o\
  24.        device.o volume.o dispatch.o netdnet.o /iodnet.o /dnetlib.o /debug.o\
  25.        /timer.o /request.o
  26.   @echo >ram:tmp.with "from $+"
  27.   @assign blinkwith:
  28.   @blink with ram:tmp.with SC SD VERBOSE BATCH to $@ lib $(LIBS)\
  29.          map netdnet-server.map hx
  30.  
  31. netsing-server.d:  main.o /subs.o file.o dir.o io.o lock.o /sendpkt.o\
  32.              device.o volume.o dispatch.o netsing.o iosing.o /debug.o\
  33.              /timer.o /request.o
  34.   @echo >ram:tmp.with "from $+"
  35.   @assign blinkwith:
  36.   @blink with ram:tmp.with SC SD VERBOSE BATCH to $@ lib $(LIBS)
  37.  
  38. netser-server.d:  main.o /subs.o file.o dir.o io.o lock.o /sendpkt.o\
  39.              device.o volume.o dispatch.o netser.o /ioser.o /debug.o /timer.o\
  40.              /request.o
  41.   @echo >ram:tmp.with "from $+"
  42.   @assign blinkwith:
  43.   @blink with ram:tmp.with SC SD VERBOSE BATCH to $@ lib $(LIBS)
  44.  
  45. netpar-server.d:  main.o /subs.o file.o dir.o io.o lock.o /sendpkt.o\
  46.              device.o volume.o dispatch.o netpar.o /iopar.o /debug.o /timer.o\
  47.              /request.o
  48.   @echo >ram:tmp.with "from $+"
  49.   @assign blinkwith:
  50.   @blink with ram:tmp.with SC SD VERBOSE BATCH to $@ lib $(LIBS)
  51.  
  52. main.o : main.c server.h /netcomm.h
  53.  @echo "Compiling $<"
  54.  @lc1 -. $(LC1FLAGS) -oram:temp.q $<
  55.  @lc2 -. $(LC2FLAGS) -y -o$@ ram:temp.q
  56.  
  57. /dnetlib.o : /dnetlib.c
  58.  @echo "Compiling $<"
  59.  @lc1 -. $(LC1FLAGS) -oram:temp.q $<
  60.  @lc2 -. $(LC2FLAGS) -y -o$@ ram:temp.q
  61.