summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordzwdz2022-03-26 21:06:07 +0100
committerdzwdz2022-03-26 21:06:07 +0100
commit38d1712e31e60de9f2afe85873b2174e002e3e99 (patch)
tree19c402747631d6df2dbd7c9222d7871b941e94ee /Makefile
parent96f021e783f1e99a1ce7d34c0dfeaef524abc2d1 (diff)
kernel: IRQs; PS/2 keyboard support
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 212ad97..bce95f6 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,10 @@ CFLAGS = -std=gnu99 -ffreestanding -O2 -Wall -Wextra -Wold-style-definition -We
CFLAGS += -mgeneral-regs-only
CFLAGS += -Isrc/
LFLAGS = -ffreestanding -O2 -nostdlib -lgcc
-QFLAGS = -no-reboot -display none
+QFLAGS = -no-reboot
+ifndef QEMU_DISPLAY
+QFLAGS += -display none
+endif
define from_sources
$(patsubst src/%.s,out/obj/%.s.o,$(shell find $(1) -type f -name '*.s')) \