Files
piphoto/Makefile
2017-08-06 19:39:11 +00:00

16 lines
446 B
Makefile

all: piphoto
objects = piphoto.o coord.o util.o
piphoto: $(objects) Makefile
clang-3.9 -O3 -g -Weverything -Werror -Wno-c++98-compat -Wno-c++98-c++11-compat-pedantic --std=c++1z --stdlib=libc++ -o piphoto $(objects) -lc++ -lunwind -lpng
%.o: %.cc *.h Makefile
clang-3.9 -O3 -g -Weverything -Werror -Wno-c++98-compat -Wno-c++98-c++11-compat-pedantic --std=c++1z --stdlib=libc++ -c -o $@ $<
run: piphoto
./piphoto
clean:
rm -f piphoto *.o