home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume25 / msgd / mesg / Makefile next >
Encoding:
Makefile  |  1992-03-09  |  378 b   |  23 lines

  1. # Needs to be setuid root so we can remove others' answerback files
  2.  
  3. BINDIR    = /software/users/bin
  4. MANDIR    = /software/users/man
  5.  
  6. NAME    = mesg
  7. OWNER=root
  8. GROUP=staff
  9. MODE=4755
  10.  
  11. OBJECT    = mesg.o
  12.  
  13. all: $(NAME)
  14.  
  15. $(NAME): $(OBJECT)
  16.     cc -o $(NAME) $(OBJECT)
  17.  
  18. install: $(NAME)
  19.     install -s -o $(OWNER) -g $(GROUP) -m $(MODE) $(NAME) $(BINDIR)/$(NAME)
  20.  
  21. clean:
  22.     rm -f a.out core *.o $(NAME)
  23.