Mercurial > ~dholland > hg > swallowtail > index.cgi
view mk/script.mk @ 33:298c8a7f5181
begin hacking
(not at all finished, won't work)
author | David A. Holland |
---|---|
date | Mon, 27 May 2013 23:16:42 -0400 |
parents | 813a27f32072 |
children |
line wrap: on
line source
.SUFFIXES: .py .pl .sh PROG=$(SCRIPT:R)$(BINSUFFIX) all: $(PROG) $(PROG): $(SCRIPT) $(SED) -f $(TOP)/config.sed < $(SCRIPT) > $@.new mv -f $@.new $@ depend: ; install: [ -d $(DESTDIR)$(PREFIX)/$(BINDIR) ] || \ mkdir -p $(DESTDIR)$(PREFIX)/$(BINDIR) $(INSTALL) -c $(PROG) $(DESTDIR)$(PREFIX)/$(BINDIR)/$(PROG) clean distclean: rm -f $(PROG) $(PROG).new .PHONY: all depend install clean distclean