projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change .gitignore to match new aoload procedure
[fw/altos]
/
aoview
/
Makefile
diff --git
a/aoview/Makefile
b/aoview/Makefile
index 8f9c08df1e355730155936b7b79b561cb1cfe8a5..ca636065a37c6e4c58c012c645855f6fc0bb3d3b 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
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 \
SRC = \
aoview_main.c \
aoview_dev.c \
@@
-15,7
+17,8
@@
SRC = \
aoview_convert.c \
aoview_log.c \
aoview_table.c \
aoview_convert.c \
aoview_log.c \
aoview_table.c \
- aoview_util.c
+ aoview_util.c \
+ aoview_file.c
INC = \
aoview.h
INC = \
aoview.h
@@
-30,5
+33,15
@@
$(PROG): $(OBJ)
$(OBJ): $(INC)
$(OBJ): $(INC)
+aoview_main.o: aoview_glade.h
+
clean:
rm -f $(OBJ) $(PROG)
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/$$/"/' $< > $@