# Makefile for StoGO. Requires GNU C++ 2.8.1 or later. # # This Makefile works together with GNU make (gmake). # # Compiler CC = c++ # Optimization flags OPTIM = -O2 # More aggressive optimization: # OPTIM= -O3 -ffast-math -fexpensive-optimizations -funroll-loops -finline-functions BINS = linalg.o tools.o global.o local.o prog.o all: global global: $(BINS) $(CC) $(OPTIM) $(BINS) $(INCLUDE) -o prog $(LINK) .cc.o: $(CC) -c $(OPTIM) $(INCLUDE) $< clean: rm -f *.o a.out