X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/blobdiff_plain/994c6a6e920abfc3823984ef4d6caaf85c2008da..52819d4ec98a27331c9cb6d1415f3a065ad81e60:/IDA/Makefile?ds=sidebyside

diff --git a/IDA/Makefile b/IDA/Makefile
index f34a69b..89f8e9e 100644
--- a/IDA/Makefile
+++ b/IDA/Makefile
@@ -3,20 +3,26 @@
 
 CPP_FLAGS= -fopenmp  -O3 -lc   -lm  
 
-LIBS= -larmadillo -lopenblas
 
-test_mat2: test_mat2.cpp
-	g++ -std=c++11 $(CPP_FLAGS)  -o $@ $<   $(LIBS)
+C_INCLUDE=gf-complete/include/
+#LIBS= -larmadillo -lopenblas
 
-ida: ida.cpp
-	g++ -std=c++11 $(CPP_FLAGS)  -o $@ $<   $(LIBS)
+#test_mat2: test_mat2.cpp
+#	g++ -std=c++11 $(CPP_FLAGS)  -o $@ $<   $(LIBS)
+
+#ida: ida.cpp
+#	g++ -std=c++11 $(CPP_FLAGS)  -o $@ $<   $(LIBS)
 
 
 ida_gf64: ida_gf64.cpp
 	g++  -o $@ $<  -std=c++11 -O3 -lm  -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -g -O3 -Wall   -I/home/couturie/ajeter/jerasure/include  /home/couturie/ajeter/jerasure/src/.libs/jerasure.o /home/couturie/ajeter/jerasure/src/.libs/galois.o -lgf_complete -fpermissive
 
 ida_gf65: ida_gf65.cpp
-	g++  -o $@ $<  -std=c++11 -O3 -lm  -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -g -O3 -Wall   -I/home/couturie/ajeter/jerasure/include  /home/couturie/ajeter/jerasure/src/.libs/jerasure.o /home/couturie/ajeter/jerasure/src/.libs/galois.o -lgf_complete -fpermissive -lpthread
+	g++  -o $@ $<  -std=c++11 -O3 -lm  -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -g -O3 -Wall   -Ijerasure/include  jerasure/src/.libs/jerasure.o jerasure/src/.libs/galois.o -lgf_complete -fpermissive -lpthread -I $(C_INCLUDE)
+
+
+ida_gf65_paper1: ida_gf65_paper1.cpp
+	g++  -o $@ $<  -std=c++11 -O3 -lm  -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -g -O3 -Wall   -Ijerasure/include  jerasure/src/.libs/jerasure.o jerasure/src/.libs/galois.o -lgf_complete -fpermissive -lpthread -I $(C_INCLUDE)
 
 clean:
-	rm test_mat2 ida ida_gf64
+	rm test_mat2 ida ida_gf64  ida_gf65_paper1