# Makefile for espresso filter basket analysis (Linux version).
# Author: John M. Weiss, Ph.D.
# Written Jan 2016.

#-----------------------------------------------------------------------

CXXFLAGS = -Wall -O2

# source dependencies are not listed
# be sure to force recompile with "make clean" if you edit alloc2d.h
SRC = main.cpp conncomp.cpp histstretch.cpp output.cpp pseudo.cpp stats.cpp getimage.cpp lodepng.cpp
OBJ = $(SRC:.cpp=.o)

# Targets:

fba:	$(OBJ)
	g++ -o $@ $^

#-----------------------------------------------------------------------

clean:
	rm -f *.o

cleanall:
	rm -f *.o fba
