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