Commit 6a3cae6 1 parent 009310e commit 6a3cae6 Copy full SHA for 6a3cae6
File tree 2 files changed +9
-8
lines changed
2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1
- all : clean init build run
2
-
3
- run :
4
- ./bin/flying-toasters -windowed
5
-
6
- build :
1
+ build : init clean
7
2
gcc -o bin/flying-toasters src/flying-toasters.c -L/usr/lib -lX11 -lXpm -s -W -Wall
8
3
9
4
clean :
10
5
rm -f bin/flying-toasters
11
6
12
7
init :
13
8
mkdir -p bin
9
+
10
+ run :
11
+ ./bin/flying-toasters -windowed
12
+
13
+ all : build run
Original file line number Diff line number Diff line change @@ -21,5 +21,6 @@ Classic [After Dark](https://en.wikipedia.org/wiki/After_Dark_(software)) screen
21
21
22
22
## Building locally
23
23
24
- 1. Install `libx11-dev` and `libxpm-dev` libraries.
25
- 2. Run `make all` from the source code directory.
24
+ 1. Install `gcc` and `libx11-dev` and `libxpm-dev` libraries.
25
+ 2. Run `make build` from the source code directory to build from source.
26
+ 3. Built screensaver will be put into the `bin` directory. Type `make run` to preview it in windowed mode.
You can’t perform that action at this time.
0 commit comments