mirror of
https://github.com/FunKey-Project/FunKey-GPIO-Mapping.git
synced 2026-03-19 10:22:51 +01:00
added sanity check of GPIO expander values after a real interrupt or a timeout
This commit is contained in:
42
Makefile
42
Makefile
@@ -1,21 +1,21 @@
|
||||
TOOLS_CFLAGS := -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual \
|
||||
-Wcast-align -Wwrite-strings -Wnested-externs -Winline \
|
||||
-W -Wundef -Wmissing-prototypes
|
||||
#
|
||||
# Programs
|
||||
#
|
||||
all: funkey_gpio_management
|
||||
|
||||
funkey_gpio_management: funkey_gpio_management.o gpio-utils.o uinput.o gpio_mapping.o read_conf_file.o keydefs.o driver_pcal6416a.o
|
||||
$(CC) $(LDFLAGS) -o $@ $^
|
||||
|
||||
|
||||
#
|
||||
# Objects
|
||||
#
|
||||
|
||||
%.o: %.c
|
||||
$(CC) $(CFLAGS) $(TOOLS_CFLAGS) -c $< -o $@
|
||||
|
||||
clean:
|
||||
rm *.o funkey_gpio_management
|
||||
TOOLS_CFLAGS := -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual \
|
||||
-Wcast-align -Wwrite-strings -Wnested-externs -Winline \
|
||||
-W -Wundef -Wmissing-prototypes
|
||||
#
|
||||
# Programs
|
||||
#
|
||||
all: funkey_gpio_management
|
||||
|
||||
funkey_gpio_management: funkey_gpio_management.o gpio-utils.o uinput.o gpio_mapping.o read_conf_file.o keydefs.o driver_pcal6416a.o
|
||||
$(CC) $(LDFLAGS) -o $@ $^
|
||||
|
||||
|
||||
#
|
||||
# Objects
|
||||
#
|
||||
|
||||
%.o: %.c
|
||||
$(CC) $(CFLAGS) $(TOOLS_CFLAGS) -c $< -o $@
|
||||
|
||||
clean:
|
||||
rm *.o funkey_gpio_management
|
||||
|
||||
Reference in New Issue
Block a user