X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=aoview%2FMakefile;fp=aoview%2FMakefile;h=bdf7853ca024c69665fa053672dbfe63f2764ba7;hp=0000000000000000000000000000000000000000;hb=09771c644de54ae354e8f98af7ba74289b3c0fcc;hpb=37250b00f6286aee4b3b28604f5d463db3079a89 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)