Browse Source

Amelioration makefile

Loquicom 6 years ago
parent
commit
89dca5a733
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Partie_1/MPI/Makefile

+ 1 - 1
Partie_1/MPI/Makefile

@@ -9,7 +9,7 @@ all:
 	g++ $(FLAGS) -c -o GSAT/GSAT.o GSAT/GSAT.cpp
 	g++ $(FLAGS) -c -o GSAT/ArrayFiller.o GSAT/ArrayFiller.cpp
 	g++ $(FLAGS) -c -o GSAT/CFormula.o GSAT/CFormula.cpp
-	mpic++ -o $(TARGET) Main.cpp $(FLAGS) GSAT/GSAT.o GSAT/ArrayFiller.o GSAT/CFormula.o 
+	mpic++ -o $(TARGET) Main.cpp $(FLAGS) $(OBJS)
 
 clean:
 	rm -f $(OBJS) $(TARGET)