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
35 CFLAGS += $(shell pkg-config --cflags libusb-1.0)
36 LDLIBS := $(shell pkg-config --libs libusb-1.0)
38 visomat-data-downloader: visomat-data-downloader.o
41 rm -f *~ *.o visomat-data-downloader