aboutsummaryrefslogtreecommitdiff
path: root/res/keymaps/Makefile
blob: 3e7a7557aaa6e3563b7daecd5bb7d51abb85e0a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CC=gcc
CFLAGS=-I../../src/lib/include -std=c11

all: fr.km

%.km: %.c
	$(CC) $(CFLAGS) -o $<.bin $<
	./$<.bin > $@
	rm $<.bin

clean:
	rm *.km || exit 0

rebuild: clean all