1 CFLAGS = -std=c99 -pedantic -pedantic-errors -Wall -g3 -O2 -D_ANSI_SOURCE_
2 CFLAGS += -fno-common \
5 -Wdeclaration-after-statement \
13 -Wmissing-declarations \
14 -Wmissing-format-attribute \
16 -Wmissing-prototypes \
18 -Wold-style-definition \
27 -Wp,-D_FORTIFY_SOURCE=2 \
29 --param=ssp-buffer-size=4
32 CFLAGS += -Wunsafe-loop-optimizations -Wunused-but-set-variable
40 CFLAGS += -D_POSIX_C_SOURCE=2
42 CFLAGS += $(shell pkg-config --cflags libusb-1.0)
43 LDLIBS := $(shell pkg-config --libs libusb-1.0)
45 visomat-data-downloader: visomat-data-downloader.o
48 rm -f *~ *.o visomat-data-downloader