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