make clean:
	rm -rf ../Code/ASM/exe
	rm -rf ../Code/ASM/functions.o
	rm -rf ../Code/C/exe

make show_img:
	rm -rf ../Code/ASM/exe
	gcc -Wall show_img.c -O3 -o ../Code/ASM/exe -lm
	cd ../Code/ASM && ./exe


make test_entry_kNN_ASM:
	rm -rf ../Code/ASM/exe
	nasm -f elf64 ../Code/ASM/functions.asm -o ../Code/ASM/functions.o
	gcc -Wall test_entry_kNN_ASM.c ../Code/ASM/functions.o -O3 -o ../Code/ASM/exe -no-pie -lm
	cd ../Code/ASM && ./exe

make test_entry_PCA_ASM:
	rm -rf ../Code/ASM/exe
	nasm -f elf64 ../Code/ASM/functions.asm -o ../Code/ASM/functions.o
	gcc -Wall test_entry_PCA_ASM.c ../Code/ASM/functions.o -O3 -o ../Code/ASM/exe -no-pie -lm
	cd ../Code/ASM && ./exe


make test_entry_kNN_C:
	rm -rf ../Code/C/exe
	gcc -Wall test_entry_kNN_C.c -O3 -o ../Code/C/exe -no-pie -lm
	cd ../Code/C && ./exe

make test_entry_PCA_C:
	rm -rf ../Code/C/exe
	gcc -Wall test_entry_PCA_C.c -O3 -o ../Code/C/exe -no-pie -lm
	cd ../Code/C && ./exe
