From 06bef53df7d3c3430b08d492de1f8f81792ba4fb Mon Sep 17 00:00:00 2001 From: zvon Date: Sat, 22 Sep 2018 23:11:18 +0000 Subject: [PATCH] Use CXX variable in Makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index efb27c4..39a02fe 100644 --- a/Makefile +++ b/Makefile @@ -7,8 +7,8 @@ default: tv_rename # using libc++ because libstdc++ has a bug in regex that causes seg fault with long lines tv_rename: functions.o tv_rename.cpp - clang++ $(CFLAGS) -stdlib=libc++ -o tv_rename tv_rename.cpp functions.o -lcurl -lc++experimental + $(CXX) $(CFLAGS) -stdlib=libc++ -o tv_rename tv_rename.cpp functions.o -lcurl -lc++experimental functions.o: functions.cpp - clang++ $(CFLAGS) -stdlib=libc++ -c functions.cpp + $(CXX) $(CFLAGS) -stdlib=libc++ -c functions.cpp