CXX=/usr/bin/g++-4.9 # Flags for the C++ compiler CFLAGS=-Wall -ansi -pedantic -O3 -std=c++11 INC= -I${HDF5_INCLUDE} LIB= -L${HDF5_LIB} -lhdf5 -lhdf5_cpp -L${ZLIB_DIR} -ldl -lz # List of executables EXECUTABLES=voro # Makefile rules all: $(EXECUTABLES) voro: random_points.cc $(CXX) $(CFLAGS) -o voro random_points.cc $(LIB) $(INC) clean: rm -f $(EXECUTABLES) .PHONY: all clean