summaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index f96d830..7a348ab 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -11,8 +11,9 @@ ECHO = @echo
#
# Mingw32
#
+GLANG = c
CC = gcc
-CFLAGS = -g -O2 -UNDEBUG -Wall -o $@ $^
+CFLAGS = -g -O2 -UNDEBUG -Wall -x $(GLANG) -o $@ $^
BUILD_DIR = ..
INCLUDES = -I.
LIBS = ./libpthread32.a