aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 0b825ac28c9de357134c43093f3b48210798e999 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# clak

Another Meccha / mechanical-sound...

## Usage

```sh
$ ./clak <board name>
```

That's it.

## Requirements

Should work on Windows and Linux.

For Linux, specific requirements are:

- Xlib (Fedora: `libX11`)
- XI2 (Fedora: `libXi`)
- SDL2 (Fedora: `SDL2`)
- SDL\_mixer 2 (Fedora: `SDL2_mixer`)

## Building

### Requirements

You need:

- C compiler (tested with gcc)
- make
- xxd

For Windows:

- Only tested with MinGW
- (TODO: fill in requirements, this stuff was already on my PC lol)

For Linux:

- Xlib (Fedora: `libX11-devel`)
- XI2 dev (Fedora: `libXi-devel`)
- SDL2 dev (Fedora: `SDL2-devel`)
- SDL\_mixer 2 dev (Fedora: `SDL2_mixer-devel`)

### Compiling

```sh
$ git clone https://git.windblume.net/pub/nick/clak
$ dnf install libX11-devel libXi-devel SDL2-devel SDL2_mixer-devel
$ make
```

To build the boards:

```sh
$ cd board
$ make
```