1 CFLAGS = -std=c99 -pedantic -pedantic-errors -Wall -g3 -O2 -D_ANSI_SOURCE_
2 CFLAGS += -fno-common \
4 -Wdeclaration-after-statement \
10 -Wp,-D_FORTIFY_SOURCE=2 \
13 -Wmissing-declarations \
14 -Wmissing-format-attribute \
16 -Wmissing-prototypes \
18 -Wold-style-definition \
25 -Wunsafe-loop-optimizations \
26 -Wunused-but-set-variable \
29 CFLAGS += $(shell pkg-config --cflags gstreamer-1.0)
30 LDLIBS += $(shell pkg-config --libs gstreamer-1.0)
32 gst-matrix-example: gst-matrix-example.o
35 rm -f *~ *.o gst-matrix-example
37 test: gst-matrix-example
38 G_DEBUG=gc-friendly G_SLICE=always-malloc \
39 valgrind --leak-check=full --show-reachable=yes ./gst-matrix-example