simple/agestat/GNUmakefile

36 lines
467 B
Makefile
Raw Normal View History

2000-02-08 02:01:06 +01:00
include GNUmakevars
2000-02-08 02:07:36 +01:00
BINDIR=/usr/local/bin
2000-02-08 02:01:06 +01:00
all: agestat
clean:
rm -f agestat customize
distclean: clean
rm -f GNUmakevars GNUmakerules
2000-02-08 02:01:06 +01:00
install: $(BINDIR) $(BINDIR)/agestat
%: %.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 ./$^ > $@
2000-02-08 02:01:06 +01:00
include GNUmakerules