- bin_PROGRAMS = light
- light_SOURCES = main.c light.c light.h helpers.c helpers.h impl/sysfs.c impl/sysfs.h
- light_CPPFLAGS = -I../include -D_GNU_SOURCE
- light_CFLAGS = -W -Wall -Wextra -std=gnu18 -Wno-type-limits -Wno-format-truncation -Wno-unused-parameter
-
- if CLASSIC
- install-exec-hook:
- chmod 4755 $(DESTDIR)$(bindir)/light
- endif
|