2 # $Id: Makefile,v 1.10 1996/11/10 19:50:59 morgan Exp $
7 @echo "*** This is not a top level Makefile!"
9 PROGS = blank xsh check_user
10 SRCS = blank.c xsh.c check_user.c
12 # have removed the following pair since they no longer conform to
13 # any recognized conventions: vpass test
14 # ditto: vpass.c test.c
20 check_user: check_user.o
21 $(CC) $(CFLAGS) -o $@ $< $(LOADLIBES)
24 $(CC) $(CFLAGS) -o $@ $< $(LOADLIBES)
27 $(CC) $(CFLAGS) -o $@ $< $(LOADLIBES)
30 if [ -n "$(PROGS)" ]; then cp $(PROGS) ../bin ; fi
31 if [ -n "$(PROGSUID)" ]; then \
32 $(INSTALL) -m 4555 -o root -g bin $(PROGSUID) ../bin ; fi
35 rm -f *.a *.so *.o *~ $(PROGS) $(PROGSUID)
38 cd ../bin ; rm -f $(PROGS) $(PROGSUID)
41 rm -f *.a *.out *.o *.so
42 for x in $(PROGS) $(PROGSUID) ; do rm -f ../bin/$$x ; done