simple/fact/GNUmakefile

31 lines
406 B
Makefile
Raw Normal View History

2001-01-19 19:37:52 +01:00
include GNUmakevars
CONFDIR=../../configure
all: configure fact
clean:
rm fact customize
install: $(BINDIR) $(BINDIR)/fact
%: %.pl customize
sh ./customize < $< > $@
chmod +x $@
%: %.sh customize
sh ./customize < $< > $@
chmod +x $@
customize: configure
sh ./configure
configure: $(CONFDIR)/start $(CONFDIR)/perl $(CONFDIR)/finish
cat $^ > $@
$(BINDIR):
mkdir -p $@
include GNUmakerules