aboutsummaryrefslogtreecommitdiff
path: root/res/keymaps/Makefile
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2015-03-11 20:47:04 +0100
committerAlex Auvolat <alex@adnab.me>2015-03-11 20:47:04 +0100
commit55e9614a6358fb3270405332e94c2eeda057350b (patch)
tree107d30ee39bef6933c51959b3333d80a0388c575 /res/keymaps/Makefile
parent50b5427a8edbb8d59215334f5a250e7f8d6d7ca7 (diff)
downloadkogata-55e9614a6358fb3270405332e94c2eeda057350b.tar.gz
kogata-55e9614a6358fb3270405332e94c2eeda057350b.zip
Include kernel.map in tests.
Diffstat (limited to 'res/keymaps/Makefile')
-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