out = mutt-outlook-compat warn = -Wall -Wpedantic cc = cc std = c99 # # Variables # # Maximum line char count. Lines longer than this will be truncated, so make # sure this is a sane size. LINE_BUF_SIZE = -D LINE_BUF_SIZE=1024 # The quote indent character. Typically is '>'. # This must have the two single quotes. Very unsafe if these aren't here. QUOTE_CHAR = -D QUOTE_CHAR="'>'" # Build the cflags CFLAGS = $(QUOTE_CHAR) $(LINE_BUF_SIZE) all: $(cc) $(warn) -std=$(std) $(dbg) $(CFLAGS) src/main.c -o $(out) debug: make all dbg='-g'