Make menu seperator insensitive
[fw/altos] / aoview / Makefile
index 1941b080a4026ff67a67db699d46a14b1ee2897c..6bf789bb7e06e5dc9753140a8678a22638f1eab9 100644 (file)
@@ -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 \
@@ -15,7 +17,9 @@ SRC = \
        aoview_convert.c \
        aoview_log.c \
        aoview_table.c \
-       aoview_util.c
+       aoview_util.c \
+       aoview_file.c \
+       aoview_eeprom.c
 
 INC = \
        aoview.h
@@ -35,5 +39,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/$$/"/' $< > $@