Add lots more aoview UI bits
[fw/altos] / aoview / Makefile
1 MODULES=gtk+-2.0 libglade-2.0 gconf-2.0
2 INCLUDES=$(shell pkg-config --cflags $(MODULES)) -I..
3 WARN= -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing
4 CFLAGS=$(INCLUDES) -O0 -g $(WARN)
5 LIBS=$(shell pkg-config --libs $(MODULES)) -lm
6
7 SRC = \
8         aoview_main.c \
9         aoview_dev.c \
10         aoview_dev_dialog.c \
11         aoview_serial.c \
12         aoview_monitor.c \
13         aoview_state.c \
14         aoview_convert.c \
15         aoview_log.c \
16         aoview_table.c \
17         aoview_util.c
18
19 INC = \
20         aoview.h
21
22 OBJ = \
23         $(SRC:.c=.o)
24
25 PROG = aoview
26
27 $(PROG): $(OBJ)
28         $(CC) $(CFLAGS) -o $@ $(OBJ) $(LIBS)
29
30 $(OBJ): $(INC)
31
32 clean:
33         rm -f $(OBJ) $(PROG)