Page d'accueil | Description du projet |
# # Cedric Pradalier 2001 # mail : http://cedric.pradalier.free.fr/mail.html # CC=g++ -g -c -Wall LD=g++ all : testc Vector.a testc : Vector.a test.o $(LD) test.o Vector.a -o testc test.o: test.cpp Object.h Vector.h $(CC) test.cpp -o test.o Vector.o: Vector.cpp Vector.h Object.h $(CC) Vector.cpp -o Vector.o Vector.a : Vector.o rm -f Vector.a ar rs Vector.a Vector.o clean : rm -f Vector.o Vector.a rm -f testc test.o test : testc ./testc