diff --git a/.gitignore b/.gitignore index 94c5ab3..3757808 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ out/ -bin/ \ No newline at end of file +ralphAssembles.exe \ No newline at end of file diff --git a/make.bat b/make.bat index 52c866b..f1dd02f 100644 --- a/make.bat +++ b/make.bat @@ -1,14 +1,14 @@ @echo off set MAIN_FILE=main.asm -set OUT_FILE=jogo.exe +set OUT_FILE=ralphAssembles.exe set LIBPATH=lib set DEBUG=1 set OBJ=out/%MAIN_FILE:.asm=.obj% set LST=out/%MAIN_FILE:.asm=.lst% set IN=src/%MAIN_FILE% -set OUT=bin/%OUT_FILE% +set OUT=%OUT_FILE% :prepare if %DEBUG%==1 ( @@ -20,10 +20,6 @@ set OUT=bin/%OUT_FILE% ) :create_directory - if not exist "bin" ( - mkdir bin - ) - if not exist "out" ( mkdir out ) @@ -35,7 +31,5 @@ set OUT=bin/%OUT_FILE% @echo Linking: %OBJ% link %LINKFLAGS% %OBJ% /OUT:%OUT% set /p teste="" - cd bin - jogo.exe - cd .. + ralphAssembles.exe diff --git a/src/jogo.asm b/src/jogo.asm index ee552e5..78cfb93 100644 --- a/src/jogo.asm +++ b/src/jogo.asm @@ -92,8 +92,8 @@ JanelaStruct ENDS terminou BYTE 0 - somPulo BYTE "..\assets\pulo.wav",0 - somColisao BYTE "..\assets\colisao.wav",0 + somPulo BYTE "assets\pulo.wav",0 + somColisao BYTE "assets\colisao.wav",0 .CODE diff --git a/src/menu.asm b/src/menu.asm index 60c18da..4201684 100644 --- a/src/menu.asm +++ b/src/menu.asm @@ -20,7 +20,7 @@ sair BYTE " sairSelecionado BYTE " -> SAIR <- ", 10, 0 -musicaMenu BYTE "..\assets\menu.wav",0 +musicaMenu BYTE "assets\menu.wav",0