summaryrefslogtreecommitdiffstats
path: root/datatop/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'datatop/src/Makefile.am')
-rw-r--r--datatop/src/Makefile.am22
1 files changed, 22 insertions, 0 deletions
diff --git a/datatop/src/Makefile.am b/datatop/src/Makefile.am
new file mode 100644
index 0000000..554b40c
--- /dev/null
+++ b/datatop/src/Makefile.am
@@ -0,0 +1,22 @@
+## Makefile.am for main application
+
+CFLAGS := -std=c99 # Target c99 for portability
+CFLAGS += -Wall -Wextra -Werror -pedantic # Strict code quality enforcement
+CFLAGS += -g # Enable debugging
+
+bin_PROGRAMS = datatop
+datatop_SOURCES := datatop.c
+datatop_SOURCES += datatop_fileops.c
+datatop_SOURCES += datatop_dual_line_poll.c
+datatop_SOURCES += datatop_single_line_poll.c
+datatop_SOURCES += datatop_meminfo_file_poll.c
+datatop_SOURCES += datatop_dev_poll.c
+datatop_SOURCES += datatop_stat_poll.c
+datatop_SOURCES += datatop_value_only_poll.c
+datatop_SOURCES += datatop_str.c
+datatop_SOURCES += datatop_cpu_stats_poll.c
+datatop_SOURCES += datatop_helpers.c
+datatop_SOURCES += datatop_linked_list.c
+datatop_SOURCES += datatop_opt.c
+datatop_SOURCES += datatop_gen_poll.c
+datatop_SOURCES += datatop_sys_snap.c