aboutsummaryrefslogtreecommitdiff
path: root/res
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
parent50b5427a8edbb8d59215334f5a250e7f8d6d7ca7 (diff)
downloadkogata-55e9614a6358fb3270405332e94c2eeda057350b.tar.gz
kogata-55e9614a6358fb3270405332e94c2eeda057350b.zip
Include kernel.map in tests.
Diffstat (limited to 'res')
-rw-r--r--res/fonts/Makefile5
-rw-r--r--res/keymaps/Makefile7
2 files changed, 9 insertions, 3 deletions
diff --git a/res/fonts/Makefile b/res/fonts/Makefile
index 8b50213..9a2a6b3 100644
--- a/res/fonts/Makefile
+++ b/res/fonts/Makefile
@@ -3,6 +3,8 @@ CFLAGS=-I../../src/lib/include -std=c11
AS=nasm
ASFLAGS=-fbin
+all: pcvga.bf muazzam.bf
+
%.bf: %.c
$(CC) $(CFLAGS) -o $<.bin $<
./$<.bin > $@
@@ -11,8 +13,7 @@ ASFLAGS=-fbin
%.bf: %.s
$(AS) $(ASFLAGS) -o $@ $<
-all: pcvga.bf muazzam.bf
-
clean:
rm *.bf || exit 0
+rebuild: clean all
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