home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 2 / 2725 / Makefile < prev    next >
Encoding:
Makefile  |  1991-02-10  |  569 b   |  36 lines

  1. CC=cc
  2. CCOPTS=-g
  3.  
  4. default: all
  5.  
  6. shar: authd.shar
  7.  
  8. all: authd tcpuid tcpuname authuser.o test
  9.  
  10. authd: authd.c Makefile
  11.     $(CC) $(CCOPTS) -o authd authd.c
  12.  
  13. tcpuid: authd Makefile
  14.     rm -f tcpuid
  15.     ln authd tcpuid
  16.  
  17. tcpuname: authd Makefile
  18.     rm -f tcpuname
  19.     ln authd tcpuname
  20.  
  21. authuser.o: authuser.c authuser.h Makefile
  22.     $(CC) $(CCOPTS) -c authuser.c
  23.  
  24. test: authuser.o authuser.h test.c Makefile
  25.     $(CC) $(CCOPTS) -o test test.c authuser.o
  26.  
  27. authd.shar: FILES
  28.     shar `cat FILES` > authd.shar
  29.     chmod 400 authd.shar
  30.  
  31. install:
  32.     echo 'Run the INSTALL shell script.'
  33.  
  34. clean:
  35.     rm -f *.o
  36.