# $Source: /hpux/shared/supp//usr/src/cmd/uupath/./makefile,v $
# $Revision: 72.2 $

# Common makefile for uupath and mkuupath

LIBS = -ldbm

default: uupath mkuupath

metrics: uupath.M mkuupath.M

uupath:
	$(CC) $(CFLAGS) uupath.c $(LDFLAGS) -o uupath $(LIBS)

mkuupath:
	$(CC) $(CFLAGS) mkuupath.c $(LDFLAGS) -o mkuupath $(LIBS)

uupath.M:
	$(METRICS) $(CFLAGS) uupath.c -o uupath.M $(LIBS)

mkuupath.M:
	$(METRICS) $(CFLAGS) mkuupath.c -o mkuupath.M $(LIBS)

clean:
# V4FS: use relative path 
	rm -f *.o

clobber: clean
# V4FS: use relative path 
	rm -f uupath mkuupath *.M
