home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 4 / CDPD_IV.bin / networking / uucp / amigauucpsrc / unix / dmakefile < prev    next >
Makefile  |  1994-06-29  |  663b  |  40 lines

  1.  
  2. #   DMakefile
  3. #
  4. #   DCC small-data model note:    library
  5. #
  6. #   -s includes symbol table
  7. #   -r residentable
  8.  
  9. OD=dtmp:uucp/
  10. ED= uucp:c/
  11.  
  12. SRCS= compress.c tarsplit.c unshar.c uudecode.c uuencode.c dcron.c \
  13.       uncompress.c zcat.c
  14. OBJS= $(SRCS:"*.c":"$(OD)*.o")
  15. EXES= $(SRCS:"*.c":"$(ED)*")
  16. CFLAGS= -I uucp:src/include/ -r -s
  17. LIBS= -Luucp:src/dlib -luucp -lodu
  18.  
  19. all: $(EXES)
  20.  
  21. $(EXES) : $(OBJS)
  22.     dcc $(CFLAGS) %(right) $(LIBS) -o %(left)
  23.  
  24. $(OBJS) : $(SRCS)
  25.     dcc $(CFLAGS) %(right) -o %(left) -c
  26.  
  27. uncompress.c : compress.c
  28.     touch %(left)
  29.  
  30. zcat.c : compress.c
  31.     touch %(left)
  32.  
  33. clean:
  34.     -delete $(OBJS)
  35.  
  36. cleanall:
  37.     -delete $(EXES)
  38.     -delete $(OBJS)
  39.  
  40.