view mk/script.mk @ 11:d42c0db81e28

Update the classification stuff. There are still some rough edges but it should be mostly workable now.
author David A. Holland
date Thu, 15 Mar 2012 04:21:20 -0400
parents 5f36d8d69aba
children 813a27f32072
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:
	$(INSTALL) -c $(PROG) $(DESTDIR)$(PREFIX)/$(BINDIR)/$(PROG)

clean distclean:
	rm -f $(PROG) $(PROG).new

.PHONY: all depend install clean distclean