From: Nishi Date: Wed, 9 Oct 2024 02:30:52 +0000 (+0000) Subject: add install target X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;ds=inline;p=reisen.git add install target git-svn-id: file:///raid/svn-personal/reisen/trunk@18 c77b849d-6a5c-934c-a956-7b968ca1e197 --- 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)