tv_rename/Makefile
2019-01-07 22:20:17 +01:00

21 lines
403 B
Makefile

CC ?= clang
CXX ?= clang++
CFLAGS ?= -O2 -Wall -Wextra -std=c++11
.PHONY: default
default: tv_rename
.PHONY: clean
clean:
rm -f *.o tv_rename
tv_rename: functions.o filesystem.o tv_rename.cpp
$(CXX) $(CFLAGS) -o tv_rename tv_rename.cpp functions.o filesystem.o -lcurl
filesystem.o: filesystem.cpp
$(CXX) $(CFLAGS) -c filesystem.cpp
functions.o: functions.cpp
$(CXX) $(CFLAGS) -c functions.cpp