blob: 24e82cce9e33e58dbf0ebd9f6191d9fd24740bf6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# tg_tetris build.ninja
# build system inspired by ~elly
cflags = -Wall -Wextra -g
ldflags =
rule cc
command = cc -c -o $out $in $cflags
rule ld
command = cc -o $out $in $ldflags
build out/tg_tetris: ld obj/main.o
ldflags = -lm -lraylib
build obj/main.o: cc src/main.c
|