Makefile (387B)
1 PREFIX=/usr/local 2 3 SRC = *.ha searchio/*.ha 4 tacker: $(SRC) 5 hare build -o tacker 6 7 test: tacker 8 hare test 9 ./tacker test-page/index.html 10 11 clean: 12 rm -rf tacker 13 14 install: tacker 15 mkdir -p $(DESTDIR)$(PREFIX)/bin 16 cp -f tacker $(DESTDIR)$(PREFIX)/bin/tacker 17 chmod 755 $(DESTDIR)$(PREFIX)/bin/tacker 18 19 uninstall: 20 rm -rf $(DESTDIR)$(PREFIX)/bin/tacker 21 22 .PHONY: test clean install uninstall