TerminalImageViewer/src/main/cpp/Makefile

16 lines
247 B
Makefile
Raw Normal View History

2018-08-03 14:17:53 +02:00
CXX=g++-8
2017-07-11 21:25:08 +02:00
default: tiv
tiv.o: tiv.cpp CImg.h
2018-08-03 14:17:53 +02:00
$(CXX) -std=c++17 -Wall -fpermissive -fexceptions -O2 -c tiv.cpp -o tiv.o
2017-07-11 21:25:08 +02:00
tiv : tiv.o
2018-08-03 14:17:53 +02:00
$(CXX) tiv.o -o tiv -lstdc++fs -pthread -s
2017-07-11 21:25:08 +02:00
install: tiv
cp tiv /usr/local/bin/tiv
clean:
rm -f tiv tiv.o