summaryrefslogtreecommitdiff
path: root/aoview/Makefile
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-05-16 02:25:04 -0700
committerKeith Packard <keithp@keithp.com>2009-05-16 02:25:04 -0700
commit09771c644de54ae354e8f98af7ba74289b3c0fcc (patch)
treefb15f3b168a201fc4a789270dd18c391e44625d7 /aoview/Makefile
parent37250b00f6286aee4b3b28604f5d463db3079a89 (diff)
Add preliminary aoview codesn4-flight2sn4-flight1
AoView connects with TeleDongle to present telemetry information in a reasonable form. Right now, it just displays information to stdout, but it does have fancy dialogs for finding the USB devices. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'aoview/Makefile')
-rw-r--r--aoview/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/aoview/Makefile b/aoview/Makefile
new file mode 100644
index 00000000..bdf7853c
--- /dev/null
+++ b/aoview/Makefile
@@ -0,0 +1,30 @@
+MODULES=gtk+-2.0 libglade-2.0
+INCLUDES=$(shell pkg-config --cflags $(MODULES)) -I..
+WARN= -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing
+CFLAGS=$(INCLUDES) -O0 -g $(WARN)
+LIBS=$(shell pkg-config --libs $(MODULES)) -lm
+
+SRC = \
+ aoview_main.c \
+ aoview_dev.c \
+ aoview_dev_dialog.c \
+ aoview_serial.c \
+ aoview_monitor.c \
+ aoview_state.c \
+ aoview_convert.c
+
+INC = \
+ aoview.h
+
+OBJ = \
+ $(SRC:.c=.o)
+
+PROG = aoview
+
+$(PROG): $(OBJ)
+ $(CC) $(CFLAGS) -o $@ $(OBJ) $(LIBS)
+
+$(OBJ): $(INC)
+
+clean:
+ rm -f $(OBJ) $(PROG)