Skip to content

Commit

Permalink
added colors and minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
idavidmarshali committed May 28, 2022
1 parent e3ae2cc commit 895e553
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions build.cmd
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
@echo off

echo Building Object file ...
echo [0;33m[INFO] Building Object file ...

gcc -c -o BSOD.o BSOD.c

echo linking ...
echo [INFO] linking ...
IF NOT EXIST build\ (
mkdir build
)
gcc -o build\BSOD.exe BSOD.o %systemroot%\System32\Kernel32.dll %systemroot%\System32\User32.dll %systemroot%\System32\Gdi32.dll %systemroot%\System32\Ole32.dll

gcc -o BSOD.exe BSOD.o C:\Windows\System32\Kernel32.dll C:\Windows\System32\User32.dll C:\Windows\System32\Gdi32.dll C:\Windows\System32\Ole32.dll

echo Removing object file ...
echo [INFO] Removing object file ...

del BSOD.o
IF NOT EXIST build\qr.bmp (
echo [INFO] Copyning Qr code image ...
copy qr.bmp build\
)

echo Done!
echo [0;32m[INFO] build\BSOD.exe Done![0;0m
PAUSE

0 comments on commit 895e553

Please sign in to comment.