summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fc649f8..04ebdad 100644
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,13 @@ config.h:
 	*)         echo "#define Defaultasm Gaself" ;;   \
 	esac > $@
 
+install: $(OBJDIR)/$(BIN)
+	mkdir -p "$(DESTDIR)/$(PREFIX)/bin/"
+	cp $< "$(DESTDIR)/$(PREFIX)/bin/"
+
+uninstall:
+	rm -f "$(DESTDIR)/$(PREFIX)/bin/$(BIN)"
+
 clean:
 	rm -fr $(OBJDIR)