From 12b054a366d1811cab9bc862ced370a8cf85d8fd Mon Sep 17 00:00:00 2001 From: RoyR Date: Sat, 14 Mar 2026 15:08:19 -0400 Subject: [PATCH] Added the install target to makefile. --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 48c6654..9821dec 100644 --- a/Makefile +++ b/Makefile @@ -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"