diff --git a/Makefile.jpg b/Makefile.jpg new file mode 100644 index 0000000000000000000000000000000000000000..703fde732099c256bbb6cc3cc84e6e4606b41ef4 --- /dev/null +++ b/Makefile.jpg @@ -0,0 +1,22 @@ +all : projet_3 + +projet_3 : projet_3.o test_projet_3.o + gcc -o projet_3 projet_3.o test_projet_3.o -I${HOME}/local/include -lcunit -L${HOME}/local/lib + + +projet_3.o : projet_3.c + gcc -o projet_3.o -c projet_3.c -W -Wall + + +test.o : test.c projet_3.h + gcc -o test.o -c test.c -I${HOME}/local/include -W -Wall -lcunit + + +clean : + rm -rf *.o + +mrproper: clean + rm -rf projet_3 + +prog : projet_3 + ./projet_3