Files
piphoto/Makefile
Ian Gulliver c9024d3d63 Checkpoint
2017-08-10 13:51:39 -07:00

16 lines
415 B
Makefile

all: piphoto
objects = piphoto.o color.o coord.o util.o
piphoto: $(objects) Makefile
clang-3.9 -O3 -g -Weverything -Werror --std=c++1z --stdlib=libc++ -o piphoto $(objects) -lc++ -lunwind -lpng
%.o: %.cc *.h Makefile
clang-3.9 -O3 -g -Weverything -Werror -Wno-padded -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