home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 4 / CDPD_IV.bin / networking / dnet / dnet2.3.2 / amiga / server / dmakefile < prev    next >
Encoding:
Makefile  |  1994-06-29  |  656 b   |  33 lines

  1.  
  2. #    DNET SERVERS
  3. #
  4. #  DNET (c)Copyright 1988, Matthew Dillon, All Rights Reserved.
  5. #
  6. #   Lattice C
  7. #  GCC patches.
  8.  
  9. CC    = gcc
  10. CFLAGS    = -Idnet:amiga/
  11. BIN    = dnet:amiga/bin/
  12. OD    = dnet:amiga/server/
  13. SRCS    = sgcopy.c scopy.c spasswd.c sprint.c sterm.c scli.c
  14. OBJS    = sgcopy.o scopy.o spasswd.o sprint.o sterm.o scli.o
  15. BINS    = sgcopy scopy spasswd sprint sterm scli
  16. SYMS    = $(OD)server.m
  17. LIBS    = -Ldnet:amiga/lib -ldnet -lamy
  18.  
  19. all: $(SYMS) $(BINS)
  20.  
  21. $(BINS) : $(OBJS)
  22.     $(CC) -o %(left) %(right) $(LIBS)
  23.  
  24. $(OBJS) : $(SRCS)
  25.     $(CC) $(CFLAGS) -H$(SYMS) -o %(left) -c %(right) 
  26.  
  27. clean:
  28.     -delete $(OD)#?.o
  29.  
  30. $(SYMS) : defs.h
  31.     $(CC) $(CFLAGS)  -o %(left) -c syms.c
  32.  
  33.