summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-05-12 23:08:00 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-05-12 23:08:00 +0200
commitf20dfd8240c5cab969b25a3c1e986b28c97f6898 (patch)
tree421171edf089cd50b70f44366cb02ad7fa251be3 /Makefile
parentf194481a520a39a1964348011df8deb108f789b7 (diff)
main menu work
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8af44db..dd40d32 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,14 @@ main:
cp -a "build/." "C:/Manually installed programs/zombieshooter"
./build/zombies.exe -ip 127.0.0.1 -port 27015
+menu:
+ rm -rf "build/"
+ mkdir -p "build/"
+ 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
+
debug_client:
./build/zombies.exe -ip 127.0.0.1 -port 27015 &
gdb --args ./build/zombies.exe -ip 172.29.64.1 -port 27015 \ No newline at end of file