update README and Makefile
This commit is contained in:
@@ -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
|
||||
@@ -14,7 +14,13 @@ Proven working on Linux ONLY. Contributions welcome!
|
||||
`cd wordlec`
|
||||
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user