aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp/progmodes/flymake-resources/Makefile
blob: 83ab0d2a1b5fff7d0d424d65534241c3e5dded22 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Makefile for flymake tests

CC_OPTS = -Wall -Wextra

## Recent gcc (e.g. 4.8.2 on RHEL7) can automatically colorize their output,
## which can confuse flymake.  Set GCC_COLORS to disable that.
## This only seems to be an issue in batch mode, where you would not
## normally use flymake, so it seems like just avoiding the issue
## in this test is fine.  Set flymake-log-level to 3 to investigate.
check-syntax:
	GCC_COLORS= gcc $(CC_OPTS) -o /dev/null -S ${CHK_SOURCES} || true

# eof