From cd5c076e09425f75eb719deb184243a886e89f99 Mon Sep 17 00:00:00 2001 From: hjp Date: Tue, 7 Sep 1999 21:26:57 +0000 Subject: [PATCH] added GNUmakefile. --- cleandir/GNUmakefile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 cleandir/GNUmakefile diff --git a/cleandir/GNUmakefile b/cleandir/GNUmakefile new file mode 100644 index 0000000..a7ed228 --- /dev/null +++ b/cleandir/GNUmakefile @@ -0,0 +1,28 @@ +include GNUmakevars + +TARGETS = cleandir +all: $(TARGETS) + +clean: + rm -f $(TARGETS) *.bak core foo bar baz *.ps + +distclean: clean + rm -f customize + +install: $(BINDIR) $(BINDIR)/cleandir + +%: %.pl customize + sh ./customize < $< > $@ + chmod +x $@ + +%: %.sh customize + sh ./customize < $< > $@ + chmod +x $@ + +customize: configure + sh ./configure + +$(SBINDIR): + mkdir -p $@ + +include GNUmakerules