simple/lspath/GNUmakefile

31 lines
388 B
Makefile

include GNUmakevars
all: lspath
clean:
rm lspath customize
install: $(BINDIR) $(BINDIR)/lspath
%: %.pl customize
sh ./customize < $< > $@
chmod +x $@
%: %.sh customize
sh ./customize < $< > $@
chmod +x $@
customize: configure
sh ./configure
$(BINDIR):
mkdir -p $@
GNUmakevars: GNUmakevars.sh
sh ./$^ > $@
GNUmakerules: GNUmakerules.sh
sh ./$^ > $@
include GNUmakerules