From 71d1689759829f1bc8550f1a4d8c9f2dc90b2ab4 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 17 May 2009 23:18:09 -0700 Subject: [PATCH] Provide install target --- aoview/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/aoview/Makefile b/aoview/Makefile index 1941b080..a2878b0e 100644 --- a/aoview/Makefile +++ b/aoview/Makefile @@ -5,6 +5,8 @@ WARN= -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested CFLAGS=$(INCLUDES) -O0 -g $(WARN) -DAOVIEW_VERSION='"$(VERSION)"' LIBS=$(shell pkg-config --libs $(MODULES)) -lm +BIN=/usr/local/bin + SRC = \ aoview_main.c \ aoview_dev.c \ @@ -35,5 +37,10 @@ aoview_main.o: aoview_glade.h clean: rm -f $(OBJ) $(PROG) +install: $(BIN)/aoview + +$(BIN)/aoview: aoview + install aoview $(BIN) + aoview_glade.h: aoview.glade sed -e 's/"/\\"/g' -e 's/^/"/' -e 's/$$/"/' $< > $@ -- 2.30.2