]> mj.ucw.cz Git - home-hw.git/commitdiff
Clock host: Warnings
authorMartin Mares <mj@ucw.cz>
Sun, 14 May 2023 13:21:10 +0000 (15:21 +0200)
committerMartin Mares <mj@ucw.cz>
Sun, 14 May 2023 13:21:10 +0000 (15:21 +0200)
clock/host/Makefile

index 17f6a9588f460c5d183f5df3af76a4af20cf27b0..3f02c9ed8a1fd39507a231df080cadc30db2b0bf 100644 (file)
@@ -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