Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- setlocal
- rem **** c:\mingw\compile.bat ****
- rem for npp_save
- rem **** variables related to source/target *****
- set gcc=%~dp0\bin\gcc.exe
- set srcin=%~fn1
- set fout=%~dpn1.exe
- rem **** here you can add compiler parameters ****
- set parms=
- rem **** here you can add library dependencies ****
- set libs=
- %gcc% %srcin% %parms% %libs% -o %fout%
- if errorlevel 1 ( goto :eof )
- rem *** only run output if there was no errors compiling ***
- cmd /c "%fout%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement