|
|
|
|
1
|
bin_PROGRAMS = light
|
1
|
bin_PROGRAMS = light
|
2
|
light_SOURCES = main.c light.c light.h helpers.c helpers.h
|
2
|
light_SOURCES = main.c light.c light.h helpers.c helpers.h
|
3
|
light_CPPFLAGS = -I../include -D_XOPEN_SOURCE=500
|
3
|
light_CPPFLAGS = -I../include -D_XOPEN_SOURCE=500
|
4
|
-light_CFLAGS = -W -Wall -Wextra -std=gnu99
|
|
|
|
|
4
|
+light_CFLAGS = -W -Wall -Wextra -std=gnu99 -Wno-type-limits
|
5
|
|
5
|
|
6
|
install-exec-hook:
|
6
|
install-exec-hook:
|
7
|
chmod 4755 $(DESTDIR)$(bindir)/light
|
7
|
chmod 4755 $(DESTDIR)$(bindir)/light
|