|
1 | 1 | # Introduction to Linux Programming |
| 2 | +## Brief |
| 3 | +This repository contains sample codes for [introduction to linux programming workshop](https://kamp.linux.org.tr/2020/kis/kurslar/linux-sistem-programlamaya-giris/) conducted at Anadolu University in January 2020. There were no lecture notes therefore there is no notes in this repository either. However, we are working on to write lecture notes with the collaboration of participants. In the mean time, If you need resources take a look at the [Good Resources](#good-resources) section. Source codes in repository uses both POSIX API and System V API. |
| 4 | +#### Contributing |
| 5 | +Any contribution is welcomed, as always. Most important part is how and what. |
| 6 | + |
| 7 | +This repository needs: |
| 8 | +- Translation. Any translation will be welcomed. You may create `README.<LANG_CODE>.md` file next to `README.md` file. |
| 9 | +- More examples. Yes we need more examples |
| 10 | +- Explanations for examples. I also didn't write what which code does. _Sorry folksTM_ |
| 11 | +- Resources. Good ones. If you think you know a good resource, let us know. |
| 12 | + |
| 13 | +How you can contribute: |
| 14 | +- Fork this repository _You'll need a github account. If you don't want to create it, clone it, change it, [mail it](mailto:emircem.gezer@gmail.com)._ |
| 15 | +- Do what you do |
| 16 | +- Test your code. or I'll. _Please don't make me test your code_ |
| 17 | +- Use [conventional commits](https://www.conventionalcommits.org). _I'm really sensitive about it_ |
| 18 | +- Create pull request as usual. |
| 19 | + |
| 20 | +## Get It Working |
| 21 | +Clone the repository to your home directory: |
| 22 | +```sh |
| 23 | +cd ~ |
| 24 | +git clone https://github.com/incebellipipo/introduction-to-linux-programming.git |
| 25 | +``` |
| 26 | +Enter the downloaded folder and create a new build folder, then enter the folder you just created: |
| 27 | +```sh |
| 28 | +cd introduction-to-linux-programming/ |
| 29 | +mkdir build |
| 30 | +cd build/ |
| 31 | +``` |
| 32 | +Generate a Makefile with `cmake`. Lastly, build and compile using `make` command: |
| 33 | +```sh |
| 34 | +cmake .. |
| 35 | +make |
| 36 | +``` |
| 37 | +Now the executable files, under the build folder, are ready to run. |
2 | 38 |
|
3 | 39 | ## Topics |
4 | 40 | - [Introduction](00-introduction) |
|
0 commit comments