projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f301b95
)
Provide install target
author
Keith Packard
<keithp@keithp.com>
Mon, 18 May 2009 06:18:09 +0000
(23:18 -0700)
committer
Keith Packard
<keithp@keithp.com>
Mon, 18 May 2009 06:18:09 +0000
(23:18 -0700)
aoview/Makefile
patch
|
blob
|
history
diff --git
a/aoview/Makefile
b/aoview/Makefile
index 1941b080a4026ff67a67db699d46a14b1ee2897c..a2878b0e6d93d8a436e220c3a0468001d60340eb 100644
(file)
--- 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/$$/"/' $< > $@