From c113b5707251218a30958f24f9f1c8d45dec8d5c Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 14 Dec 2006 00:59:41 +0000 Subject: Add an install target to the flashrom Makefile which installs flashrom into /usr/local/bin Corresponding to flashrom svn r82 and coreboot v2 svn r2524. Signed-off-by: Uwe Hermann Acked-by: Stefan Reinauer --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 46f3c9f..360952d 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,8 @@ PROGRAM = flashrom CC = gcc STRIP = strip +INSTALL = /usr/bin/install +PREFIX = /usr/local #CFLAGS = -O2 -g -Wall -Werror CFLAGS = -Os -Wall -Werror -DDISABLE_DOC # -DTS5300 LDFLAGS = -lpci -lz -static @@ -45,6 +47,9 @@ pciutils: rm -f .test.c .test; exit 1) @rm -f .test.c .test +install: $(PROGRAM) + $(INSTALL) flashrom $(PREFIX)/bin + .PHONY: all clean distclean dep pciutils -include .dependencies -- cgit v1.1