aboutsummaryrefslogtreecommitdiff
path: root/res/fonts/Makefile
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2015-03-11 19:18:59 +0100
committerAlex Auvolat <alex@adnab.me>2015-03-11 19:18:59 +0100
commit50b5427a8edbb8d59215334f5a250e7f8d6d7ca7 (patch)
tree7263505b2a6145256ce1f494108a4ceb853c4de0 /res/fonts/Makefile
parent0b76aff59b586d87ee0449bc7deda878f4633515 (diff)
downloadkogata-50b5427a8edbb8d59215334f5a250e7f8d6d7ca7.tar.gz
kogata-50b5427a8edbb8d59215334f5a250e7f8d6d7ca7.zip
Add keyboard handling code. New font thanks to Muazzam from OSDev!
Diffstat (limited to 'res/fonts/Makefile')
-rw-r--r--res/fonts/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/res/fonts/Makefile b/res/fonts/Makefile
index c4de63d..8b50213 100644
--- a/res/fonts/Makefile
+++ b/res/fonts/Makefile
@@ -1,10 +1,18 @@
CC=gcc
CFLAGS=-I../../src/lib/include -std=c11
+AS=nasm
+ASFLAGS=-fbin
%.bf: %.c
$(CC) $(CFLAGS) -o $<.bin $<
./$<.bin > $@
rm $<.bin
-all: default.bf
+%.bf: %.s
+ $(AS) $(ASFLAGS) -o $@ $<
+
+all: pcvga.bf muazzam.bf
+
+clean:
+ rm *.bf || exit 0