27 lines
326 B
Makefile
27 lines
326 B
Makefile
include GNUmakevars
|
|
|
|
BINDIR=/usr/local/bin
|
|
|
|
all: agestat
|
|
|
|
clean:
|
|
rm agestat customize
|
|
|
|
install: $(BINDIR) $(BINDIR)/agestat
|
|
|
|
%: %.pl customize
|
|
sh ./customize < $< > $@
|
|
chmod +x $@
|
|
|
|
%: %.sh customize
|
|
sh ./customize < $< > $@
|
|
chmod +x $@
|
|
|
|
customize: configure
|
|
sh ./configure
|
|
|
|
$(BINDIR):
|
|
mkdir -p $@
|
|
|
|
include GNUmakerules
|