blob: 554b40c6992dfd9c23eee036f4d6d9b7e1af54f5 [file] [log] [blame]
Harout Hedeshian6202ba72015-04-13 19:02:25 -06001## Makefile.am for main application
2
3CFLAGS := -std=c99 # Target c99 for portability
4CFLAGS += -Wall -Wextra -Werror -pedantic # Strict code quality enforcement
5CFLAGS += -g # Enable debugging
6
7bin_PROGRAMS = datatop
8datatop_SOURCES := datatop.c
9datatop_SOURCES += datatop_fileops.c
10datatop_SOURCES += datatop_dual_line_poll.c
11datatop_SOURCES += datatop_single_line_poll.c
12datatop_SOURCES += datatop_meminfo_file_poll.c
13datatop_SOURCES += datatop_dev_poll.c
14datatop_SOURCES += datatop_stat_poll.c
15datatop_SOURCES += datatop_value_only_poll.c
16datatop_SOURCES += datatop_str.c
17datatop_SOURCES += datatop_cpu_stats_poll.c
18datatop_SOURCES += datatop_helpers.c
19datatop_SOURCES += datatop_linked_list.c
20datatop_SOURCES += datatop_opt.c
21datatop_SOURCES += datatop_gen_poll.c
22datatop_SOURCES += datatop_sys_snap.c