Added Readme.md

This commit is contained in:
2017-05-06 23:48:44 +02:00
parent c703bd17dd
commit 98d42c4f6a
2 changed files with 22 additions and 0 deletions

1
.gitignore vendored
View File

@@ -2,3 +2,4 @@
*.h~
*.o
/hangman
*.md~

21
README.md Normal file
View 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`