update README and Makefile
This commit is contained in:
@@ -2,9 +2,7 @@ first:
|
|||||||
gcc src/main.c -o main
|
gcc src/main.c -o main
|
||||||
|
|
||||||
install:
|
install:
|
||||||
echo "alias wordle='$(realpath build/main)'" >> ~/.bashrc
|
echo "alias wordlec='$(realpath main)'" >> ~/.bashrc
|
||||||
echo "WORDLE_PATH='$(realpath build/main)'" >> ~/.bashrc
|
|
||||||
export WORDLE_PATH
|
|
||||||
source ~/.bashrc
|
source ~/.bashrc
|
||||||
run:
|
run:
|
||||||
./build/main
|
./main
|
||||||
@@ -15,6 +15,12 @@ Proven working on Linux ONLY. Contributions welcome!
|
|||||||
|
|
||||||
3. Start the game
|
3. Start the game
|
||||||
`make && make run`
|
`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
|
# How to play
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user