Added the install target to makefile.

This commit is contained in:
RoyR
2026-03-14 15:08:19 -04:00
parent e618cef9d6
commit 12b054a366

View File

@@ -70,6 +70,12 @@ clean:
rm -f /tmp/test.cm /tmp/test.asm /tmp/test.o /tmp/test /tmp/test.out /tmp/test.err
@echo "Cleaned all generated files"
# Install to /usr/local/
.PHONY: install
install:
install common /usr/local/bin/
@echo Installed common to /usr/local/bin/
# Help
.PHONY: help
help:
@@ -81,6 +87,7 @@ help:
@echo " examples - Build all example programs"
@echo " run-examples - Build and run all examples"
@echo " clean - Remove all generated files"
@echo " install - Install to /usr/local/bin"
@echo ""
@echo "Build individual examples:"
@echo " make hello"