Add an install target.

This commit is contained in:
David Given 2016-09-02 23:03:57 +02:00
parent f67c98e239
commit de7023dd61

View file

@ -95,6 +95,10 @@ $(BUILDDIR)/build.$(BUILDSYSTEM): first/ackbuilder.lua Makefile $(BUILD_FILES)
CC=$(CC) \ CC=$(CC) \
> $(BUILDDIR)/build.$(BUILDSYSTEM) > $(BUILDDIR)/build.$(BUILDSYSTEM)
install:
mkdir -p $(PREFIX)
tar cf - -C $(INSDIR) . | tar xvf - -C $(PREFIX)
clean: clean:
@rm -rf $(BUILDDIR) @rm -rf $(BUILDDIR)