Files
piphoto/Makefile
2017-08-07 06:15:20 +00:00

16 lines
454 B
Makefile

all: piphoto
objects = piphoto.o color.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