# Description file for the Make command
# Makefile 4.4 85/04/16
#
#	$Source: /afs/rel-eng.athena.mit.edu/project/release/current/source/bsd.43/common/bin/make/RCS/Makefile,v $
#	$Author: epeisach $
#	$Header: /afs/rel-eng.athena.mit.edu/project/release/current/source/bsd.43/common/bin/make/RCS/Makefile,v 1.6 90/02/09 12:18:10 epeisach Exp $

OBJECTS=ident.o main.o doname.o misc.o files.o dosys.o gram.o condmac.o \
	 getenv.o setenv.o
SOURCES=ident.c main.c doname.c misc.c files.c dosys.c gram.c condmac.c \
	 getenv.c setenv.c
LIBES= 
LINT=	lint -ps
CFLAGS=	-O -DDISABLE_CMAC -DASCARCH -I. -I/usr/src/bin/make 

all:	make

make:	${OBJECTS}
	${CC} -o make ${CFLAGS} ${OBJECTS} ${LIBES}

${OBJECTS}:  defs

clean:
	-rm -f *.o gram.c make a.out errs

install:
	install -s make ${DESTDIR}/bin/make

lint:	${SOURCES}
	${LINE} ${SOURCES}
	rm -f gram.c

depend: gram.c
	touch Make.depend; makedepend -fMake.depend -s "# DO NOT DELETE THIS LINE -- make depend uses it" \
		${CFLAGS} ${SOURCES}

