diff options
author | Keith Packard <keithp@keithp.com> | 2009-05-17 23:18:09 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-05-17 23:18:09 -0700 |
commit | 71d1689759829f1bc8550f1a4d8c9f2dc90b2ab4 (patch) | |
tree | 7fa16dce24b6f3a3e38aa6c62393209c6813edaa | |
parent | f301b95e87c8ec1e3b58d595a05d486bede5e0c2 (diff) |
Provide install target
-rw-r--r-- | aoview/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
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/$$/"/' $< > $@ |