Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,17 @@

##### Unix-like
`$ git clone --recurse-submodules https://github.com/jdah/minecraft-weekend.git`\

`$ make`

to comepile this game just run requirements.sh to install the requirements and comepile this game, this script only work for debian and ubuntu base distro.

` $ cd minecraft-weekend`

` $ chmod +x requirements.sh `

` $ sudo ./requirements.sh `

The following static libraries under `lib/` must be built before the main project can be built:

- GLAD `lib/glad/src/glad.o`
Expand Down
22 changes: 22 additions & 0 deletions requirements.sh
Copy link

@Zorono Zorono Apr 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that your credit is already included in your Git commit's metadata ??? (am i wrong or something ?)

Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/sh

#requirement for Debain and Ubuntu only

echo "installing"

# all this should be in the other distro repo i don't know
# this command will install everything it need to comepile minecraft in C

sudo apt-get install git fakeroot build-essential ncurses-dev xz-utils libssl-dev bc flex libelf-dev bison

sudo apt-get install cmake
sudo apt-get install libxi-dev

sudo apt-get install libxcursor-dev
sudo apt-get install libxinerama-dev

sudo apt-get install libxrandr-dev

make -j3

echo "Done"