bin_PROGRAMS = ttail noinst_LIBRARIES= libttail.a libttail_a_SOURCES = ttail_init.c ttail_search.c ttail_search_files.c ttail_SOURCES = main.c $(libttail_a_SOURCES) #ttail_SOURCES = main.c ttail_init.c ttail_search.c ttail_search_files.c if HUGEFILE ttail_CFLAGS = @CFLAGS@ -DTTAIL_HUGE_FILE libttail_a_CFLAGS = @CFLAGS@ -DTTAIL_HUGE_FILE endif if DEBUG if HUGEFILE bin_PROGRAMS += ttail_no_huge ttail_no_huge_SOURCES = $(ttail_SOURCES) else bin_PROGRAMS += ttail_huge ttail_huge_SOURCES = $(ttail_SOURCES) ttail_huge_CFLAGS = @CFLAGS@ -DTTAIL_HUGE_FILE endif endif