diff options
author | Charadon <dev@iotib.net> | 2022-09-20 11:51:43 -0400 |
---|---|---|
committer | Charadon <dev@iotib.net> | 2022-09-20 11:51:43 -0400 |
commit | 4ea69698424f7bfe93d0e9142f6f50c0583ef168 (patch) | |
tree | c3f58f835c319d4cc5aacbfb00665042fbca3edb /README.txt | |
parent | 4a01250a8572ae2965b27e9a11daa9820e0433d2 (diff) | |
download | Pong-C-4ea69698424f7bfe93d0e9142f6f50c0583ef168.tar.gz |
Updated README.txt
Diffstat (limited to 'README.txt')
-rw-r--r-- | README.txt | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/README.txt b/README.txt index 1b39cd8..fdc75a2 100644 --- a/README.txt +++ b/README.txt @@ -31,7 +31,7 @@ My goal with this project is: is the only way I can learn. =============================================================================== Build with Tup: - 1. Modify tup.config to your needs. + 1. Copy/Modify tup.config to your needs. 2. Run `tup` 3. Run ./install.sh 4. Done @@ -41,5 +41,21 @@ Build without Tup: 1. Run ./build-$RELEASETYPE.sh (release if packaging, debug if debugging) 2. Run ./install.sh 3. Done. +Distributing: + This is complicated, and depends on your platform. On most systems, the best + way to redistribute binaries is to use a combination of ldd and awk. + Example: + mkdir -p libs/ + for i in $(ldd ./Pong | awk '/usr\/lib/{print $3}'); + do + cp $i libs/ + done + The syntax you'll have to use depends on your system, OpenBSD for example + stores packages in /usr/local. Not to mention this method is unreliable on + many linux distributions due to /lib and /usr/lib being the same + directory. On Windows, the libraries should be in the same directory as + the executable. + + From there, just simply tarball or zip up the game with the libraries. =============================================================================== If you like my work and want to support me, consider donating to me on https://liberapay.com/Charadon/ |