set DESTDIR=Console

cd %DESTDIR%
javac -Xlint:deprecation -Xlint:unchecked -source 1.3 -target 1.3 Console.java
javac -Xlint:deprecation -Xlint:unchecked -source 1.3 -target 1.3 FrameConsole.java
javac -Xlint:deprecation -Xlint:unchecked -source 1.3 -target 1.3 ConsoleReader.java
javac -Xlint:deprecation -Xlint:unchecked -source 1.3 -target 1.3 ConsolePrinter.java
javac -Xlint:deprecation -Xlint:unchecked -source 1.3 -target 1.3 CanvasConsole.java
javac -Xlint:deprecation -Xlint:unchecked -source 1.3 -target 1.3 CurseurCanvasConsole.java
cd ..

GenerationJarConsole ExamTD\ReservationSalle                %DESTDIR%
GenerationJarConsole ExamTD\Complexite                      %DESTDIR%

pause
