summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5a676d0..8f88f9e 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ main:
cp -a "data/." "build/data"
gcc -m64 -g -Wl,--stack,4194304 -DMODE_DEBUG main.c -o build/zombies.exe -lSDL2_mixer -lSDL2
cp -a "build/." "C:/Manually installed programs/zombieshooter"
- ./build/zombies.exe -ip 127.0.0.1 -port 27015
+ gdb -ex run --args ./build/zombies.exe -ip 127.0.0.1 -port 27015
menu:
rm -rf "build/"
@@ -12,7 +12,7 @@ menu:
cp -a "data/." "build/data"
gcc -m64 -g -Wl,--stack,4194304 -DMODE_DEBUG main.c -o build/zombies.exe -lSDL2_mixer -lSDL2
cp -a "build/." "C:/Manually installed programs/zombieshooter"
- ./build/zombies.exe
+ gdb -ex run ./build/zombies.exe
debug_client:
./build/zombies.exe -ip 127.0.0.1 -port 27015 &