CFLAGS += -Wall -Werror -O9 -funroll-loops LDLIBS += -lm -ljansson .PHONY: all all: camcalibplanes @#$(MAKE) -C opencv-findcorners $@ # Please build opencv-findcorners manually if you need it # (after installing opencv-dev and cmake) SRCS = camcalibplanes.c camcalibplanes: $(SRCS:.c=.o) \ ../camfuncs/camfuncs.a ../cmpfit/libmpfit.a .PHONY: indent indent: indent *.[ch] .PHONY: clean clean: $(MAKE) -C opencv-findcorners $@ rm -f *.d *.o *~ camcalibplanes include ../shared/Makefile.depends sinclude $(SRCS:.c=.d)