blob: 3da7816ade9f324341b04f6435810eb0cbd4351c (
plain)
1 out = mutt-outlook-compat
2 warn = -Wall -Wpedantic
3 cc = cc
4 std = c99
5
6 #
7 # Variables
8 #
9
10 # Maximum line char count. Lines longer than this will be truncated, so make
11 # sure this is a sane size.
12 LINE_BUF_SIZE = -D LINE_BUF_SIZE=1024
13
14 # The quote indent character. Typically is '>'.
15 # This must have the two single quotes. Very unsafe if these aren't here.
16 QUOTE_CHAR = -D QUOTE_CHAR="'>'"
17
18 # Build the cflags
19 CFLAGS = $(QUOTE_CHAR) $(LINE_BUF_SIZE)
20
21
22 all:
23 $(cc) $(warn) -std=$(std) $(dbg) $(CFLAGS) src/main.c -o $(out)
24
25 debug:
26 make all dbg='-g'
|