Home | History | Annotate | Download | only in src
      1 ## Makefile.am for main application
      2 
      3 CFLAGS := -std=c99                        # Target c99 for portability
      4 CFLAGS += -Wall -Wextra -Werror -pedantic # Strict code quality enforcement
      5 CFLAGS += -g -D _BSD_SOURCE               # Enable debugging and BSD time functions
      6 
      7 bin_PROGRAMS = datatop
      8 datatop_SOURCES := datatop.c
      9 datatop_SOURCES += datatop_fileops.c
     10 datatop_SOURCES += datatop_dual_line_poll.c
     11 datatop_SOURCES += datatop_single_line_poll.c
     12 datatop_SOURCES += datatop_meminfo_file_poll.c
     13 datatop_SOURCES += datatop_dev_poll.c
     14 datatop_SOURCES += datatop_stat_poll.c
     15 datatop_SOURCES += datatop_value_only_poll.c
     16 datatop_SOURCES += datatop_str.c
     17 datatop_SOURCES += datatop_cpu_stats_poll.c
     18 datatop_SOURCES += datatop_helpers.c
     19 datatop_SOURCES += datatop_linked_list.c
     20 datatop_SOURCES += datatop_opt.c
     21 datatop_SOURCES += datatop_gen_poll.c
     22 datatop_SOURCES += datatop_sys_snap.c
     23