From 5e1ad149845e67f7b0122ca08c403b5904d1eb37 Mon Sep 17 00:00:00 2001 From: Nishi Date: Wed, 9 Oct 2024 02:30:52 +0000 Subject: [PATCH] add install target git-svn-id: file:///raid/svn-personal/reisen/trunk@18 c77b849d-6a5c-934c-a956-7b968ca1e197 --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0952b4c..b38e761 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,20 @@ # $Id$ +PREFIX = /usr/local PLATFORM = generic include Platform/$(PLATFORM).mk FLAGS = PLATFORM=$(PLATFORM) PWD=`pwd` -.PHONY: all clean ./SFX ./Tool +.PHONY: all install clean ./SFX ./Tool all: ./SFX ./Tool +install: all + mkdir -p $(PREFIX)/bin + cp Tool/reisen $(PREFIX)/bin/ + ./SFX:: $(MAKE) -C $@ $(FLAGS) -- 2.43.0