aboutsummaryrefslogtreecommitdiff
path: root/res/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'res/keymaps')
-rw-r--r--res/keymaps/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/res/keymaps/Makefile b/res/keymaps/Makefile
index 394685e..3e7a755 100644
--- a/res/keymaps/Makefile
+++ b/res/keymaps/Makefile
@@ -1,10 +1,15 @@
CC=gcc
CFLAGS=-I../../src/lib/include -std=c11
+all: fr.km
+
%.km: %.c
$(CC) $(CFLAGS) -o $<.bin $<
./$<.bin > $@
rm $<.bin
-all: fr.km
+clean:
+ rm *.km || exit 0
+
+rebuild: clean all