summaryrefslogtreecommitdiff
path: root/03_play/Makfile
diff options
context:
space:
mode:
Diffstat (limited to '03_play/Makfile')
-rw-r--r--03_play/Makfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/03_play/Makfile b/03_play/Makfile
index 10b7e43..0d8b4a1 100644
--- a/03_play/Makfile
+++ b/03_play/Makfile
@@ -92,6 +92,10 @@ ifeq ($(findstring Release,$(MAKECMDGOALS)),Release)
TARGET = bin/$(BIN_NAME)
endif
+ifeq ($(findstring Release,$(MAKECMDGOALS)),clang)
+ CXX = clang
+endif
+
ifeq ($(MAKECMDGOALS),)
TARGET_NAME = Release
BIN_NAME = $(APPNAME)