From: Martin Mares Date: Sun, 14 May 2023 13:21:10 +0000 (+0200) Subject: Clock host: Warnings X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=187d4cea49b6637c9b3b36c7c195226f18ade971;p=home-hw.git Clock host: Warnings --- diff --git a/clock/host/Makefile b/clock/host/Makefile index 17f6a95..3f02c9e 100644 --- a/clock/host/Makefile +++ b/clock/host/Makefile @@ -5,7 +5,7 @@ USB_CFLAGS := $(shell $(PC) --cflags libusb-1.0) USB_LIBS := $(shell $(PC) --libs libusb-1.0) UCW_USB = ../../ucw-libusb -CFLAGS=-O2 -Wall -Wextra -Wno-parentheses $(UCW_CFLAGS) $(USB_CFLAGS) -I$(UCW_USB) +CFLAGS=-O2 -Wall -Wextra -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes $(UCW_CFLAGS) $(USB_CFLAGS) -I$(UCW_USB) LDLIBS=$(UCW_LIBS) $(USB_LIBS) -lmosquitto all: burrow-clock @@ -21,4 +21,4 @@ install: all install burrow-clock /usr/local/sbin/ clean: - rm -f burrow-clock + rm -f burrow-clock *.o