Makefile.am 335B

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