29 lines
386 B
Makefile
29 lines
386 B
Makefile
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
|