home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 2 / 2989 / Makefile < prev    next >
Encoding:
Makefile  |  1991-03-06  |  532 b   |  28 lines

  1. # SCCS = @(#) Makefile 1.6 12/18/89 15:08:28
  2. # SYSTEM = BSD
  3. SYSTEM = SYSV
  4.  
  5. CFLAGS = -O
  6.  
  7. OBJS = listfile atest
  8.  
  9. SRCS = select.c listdir.$(SYSTEM) main.c select.roff listdir.roff \
  10.         listfile.roff 
  11.  
  12. .SUFFIXES:    .roff .man
  13.  
  14. .roff.man:    
  15.         nroff -man $*.roff > $*.man
  16.  
  17. all:    listfile select.man listdir.man listfile.man 
  18.         touch all
  19.  
  20. clean:
  21.         rm -f $(OBJS) *.man *.o all core
  22.  
  23. listfile:        main.o select.o listdir.o
  24.     cc -o listfile main.o listdir.o select.o -lcurses -ltermcap
  25.  
  26. listdir.c:        listdir.$(SYSTEM)
  27.         cp listdir.$(SYSTEM) listdir.c
  28.