home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 4 / CDPD_IV.bin / networking / dnet / dnet2.3.2 / amiga / client / makefile < prev    next >
Encoding:
Makefile  |  1994-06-29  |  1.3 KB  |  73 lines

  1. #
  2. #    DNET CLIENTS
  3. #
  4. #  DNET (c)Copyright 1988, Matthew Dillon, All Rights Reserved.
  5. #
  6. #  Originally Lattice C
  7. #  Gcc dmakefile ERic mehlahff 11/30/92
  8.  
  9. DEBUG   =
  10. CC    = gcc
  11. CFLAGS    = -Idnet:amiga -Idnet:amiga/suplib $(DEBUG)
  12. BIN    = ../bin/
  13. OD    = ../client/
  14. MAKE    = gcc:unix/usr/bin/make
  15.  
  16. SRCS    = cliterm.c fterm.c getfiles.c loadav.c putfiles.c statdnet.c  \
  17.     quitdnet.c  RemoteLoad.c
  18.  
  19. OBJS    = cliterm.o fterm.o getfiles.o loadav.o putfiles.o statdnet.o \
  20.     quitdnet.o  RemoteLoad.o
  21.  
  22. BINS    = cliterm getfiles loadav putfiles statdnet quitdnet fterm RemoteLoad
  23.  
  24. BINDIR  = dnet:amiga/bin/
  25.  
  26. SYMS    = $(OD)client.m
  27. LIBS    = -L../lib/ -L../suplib -ldnet -lsup -lamy 
  28. DNETLIB = ../lib/libdnet.a
  29. RM    = work:util/rm -f
  30. COPY     = c:copy
  31.  
  32. all: $(BINS)
  33.  
  34. .c.o: ; $(CC) $(CFLAGS) -c $*.c 
  35.  
  36. cliterm: cliterm.o
  37.     $(CC) -o $@ cliterm.o $(LIBS)
  38.  
  39. fterm: fterm.o
  40.     $(CC) -o $@ fterm.o $(LIBS)
  41.  
  42. getfiles: getfiles.o $(DNETLIB)
  43.     $(CC) -o $@ getfiles.o $(LIBS)
  44.  
  45. loadav: loadav.o
  46.     $(CC) -o $@ loadav.o $(LIBS)
  47.  
  48. putfiles: putfiles.o
  49.     $(CC) -o $@ putfiles.o $(LIBS)
  50.  
  51. statdnet: statdnet.o
  52.     $(CC) -o $@ statdnet.o $(LIBS)
  53.  
  54. RemoteLoad: RemoteLoad.o
  55.     $(CC) -o $@ RemoteLoad.o $(LIBS)
  56.  
  57. quitdnet: quitdnet.o
  58.     $(CC) -o $@ quitdnet.o $(LIBS)
  59.  
  60. clean:
  61.     $(RM) $(OBJS) 
  62.  
  63. reallyclean: clean
  64.     $(RM) $(BINS)
  65.  
  66. realclean: reallyclean
  67.  
  68. install: all
  69.     $(COPY) $(BINS) $(BINDIR)
  70.  
  71. debug:
  72.     $(MAKE) DEBUG="-DDEBUG -DMEM_DEBUG"
  73.