aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'gtk')
-rw-r--r--gtk/makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/makefile b/gtk/makefile
index 5ae6506dc..93814fe36 100644
--- a/gtk/makefile
+++ b/gtk/makefile
@@ -7,8 +7,13 @@
# Also works with ming32-make on Windows.
.SUFFIXES: .cxx .c .o .h .a
+ifdef CLANG
+CC = clang
+CCOMP = clang
+else
CC = g++
CCOMP = gcc
+endif
AR = ar
RANLIB = touch