#sccs	"@(#)cron:Makefile	1.2"

#	Makefile to make cron.  9/25/84 elr

include $(MAKEINC)/Makepre.h

LDFLAGS = -s 

DEPENDLIST = cron.c

all: Makeincludes cron 

Makeincludes: $(DEPENDLIST)
	$(INCCMD) $(DEPENDLIST) | $(SORT) | $(FILTER) > Makeincludes
	$(MAKE)

includes: $(DEPENDLIST)
	$(INCCMD) $(DEPENDLIST) | $(SORT) | $(FILTER) > Makeincludes

cron: cron.c id.o
	$(CC) $(CFLAGS) -c cron.c
	$(LD) $(LDFLAGS) $(SHAREDLIB) -o cron cron.o id.o

install:
	$(INSTALL) -i$(EXITFLAG) cron $(INSDIR) $(PROTOFILE)

clean:
	rm -f *.o

clobber: clean 
	rm -f cron

id.c: cron.sl
	mkslid >id.c

populate:
	getunit

include Makeincludes
include $(MAKEINC)/Makepost.h
