update README and Makefile

This commit is contained in:
bePrivate
2023-10-28 20:06:19 +02:00
parent e58d02fb7d
commit 4ced393957
2 changed files with 9 additions and 5 deletions
+2 -4
View File
@@ -2,9 +2,7 @@ first:
gcc src/main.c -o main
install:
echo "alias wordle='$(realpath build/main)'" >> ~/.bashrc
echo "WORDLE_PATH='$(realpath build/main)'" >> ~/.bashrc
export WORDLE_PATH
echo "alias wordlec='$(realpath main)'" >> ~/.bashrc
source ~/.bashrc
run:
./build/main
./main
+6
View File
@@ -15,6 +15,12 @@ Proven working on Linux ONLY. Contributions welcome!
3. Start the game
`make && make run`
or
`./main` to be able to run with arguments
Optionally you can install it and it can be accessed from any place in the filesystem.
`make install`
Then you can just use `wordlec` (plus optional arguments) to launch the game.
# How to play