36 lines
467 B
Makefile
36 lines
467 B
Makefile
include GNUmakevars
|
|
|
|
BINDIR=/usr/local/bin
|
|
|
|
all: agestat
|
|
|
|
clean:
|
|
rm -f agestat customize
|
|
|
|
distclean: clean
|
|
rm -f GNUmakevars GNUmakerules
|
|
|
|
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 ./$^ > $@
|
|
|
|
|
|
include GNUmakerules
|