# Makefile for V tools
# Copyright 1982 (c) David R. Cheriton, All rights reserved.
#
# Marvin Theimer, 7/83
#

DIRS = buildmake makedep shscripts

#include ../buildprefix

all: host dirs filedate

host: host.c
	cc -o host host.c

filedate: filedate.c
	cc -o filedate filedate.c

dirs:
	domake "$(DIRS)" "build"

install:
	domake "$(DIRS)" "build install"

clean:
	rm -f *.CKP *.BAK 
	domake "$(DIRS)" "build clean"

backup:
	cd ..; cpdir cmds ../Vbackup/tools


