INCS = -I$(SIMGRID_LOC)/include
LIBS = -L$(SIMGRID_LOC)/lib -lsimgrid
FLAGSSG = -DHAVE_CONFIG_H -finline-functions -ffast-math -funroll-loops -fno-strict-aliasing -g -O2 
FLAGS = -g -O2 

all: equil6 generePlat construitTableau aleat

%: %.cpp
	$(CXX) $< -o $@ $(FLAGSSG) $(INCS) $(LIBS)

generePlat: generePlat.cpp
	$(CXX) $< -o $@ $(FLAGS)

construitTableau: construitTableau.cpp
	$(CXX) $< -o $@ $(FLAGS)

clean:
	rm -rf *.dSYM *~ generePlat equil6 aleat