# Makefile for flow code SRC = findcrosshair.cpp samplerect.cpp cutsquares.cpp halfsize.cpp \ linear140.cpp correct140.cpp compute-resid.cpp BIN = findcrosshair samplerect cutsquares halfsize \ linear140 correct140 compute-resid IMGLIB = imageLib CC = g++ CPPFLAGS = -O2 -W -Wall -I$(IMGLIB) # for debugging, use: #CPPFLAGS = -g -W -Wall -I$(IMGLIB) LDLIBS = -L$(IMGLIB) -lImg -lpng -lz OBJ = $(SRC:.cpp=.o) all: $(BIN) samplerect: GaussElim.cpp clean: rm -f $(BIN) $(OBJ)