Added Readme.md
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,3 +2,4 @@
|
||||
*.h~
|
||||
*.o
|
||||
/hangman
|
||||
*.md~
|
||||
|
21
README.md
Normal file
21
README.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# Hangman
|
||||
## Compile on Linux
|
||||
Get the ncurses library (on some distributions e.g. Debian the headers are included in the ncurses-dev package.)
|
||||
|
||||
Compile by typing `make`
|
||||
|
||||
## Compile on Windows
|
||||
Download the mingw compiler [here](https://sourceforge.net/projects/mingw/files/Installer/)
|
||||
|
||||
Additionally select the pdcurses library.
|
||||
|
||||
Otherwise download [pdc34dllw.zip](https://sourceforge.net/projects/pdcurses/files/pdcurses/3.4/)
|
||||
and put the files into the following mingw directories:
|
||||
|
||||
`pdcurses.lib` --> /lib
|
||||
|
||||
`curses.h` and `panel.h` --> /include
|
||||
|
||||
`pdcures.dll` --> /bin
|
||||
|
||||
Now you can compile the project with `mingw32-make -f makefile_mingw`
|
Reference in New Issue
Block a user