Compare commits

...

2 Commits

Author SHA1 Message Date
1685f2d0b9 add: print keypressed 2024-09-07 14:18:04 +02:00
4e1fd187bc fix: makefile : use find instead of wildcard
to access to sub sub folder
2024-09-07 14:17:21 +02:00
3 changed files with 5 additions and 3 deletions

View File

@ -12,8 +12,8 @@ LD := $(CC)
LDFLAGS := -T boot/linker.ld -ffreestanding -O2 -nostdlib
LIBS := ./libbozo/build/libbozo.a -lgcc
SSRC := $(wildcard $(SOURCEDIR)/*.s)
CSRC := $(wildcard $(SOURCEDIR)/*.c)
SSRC := $(shell find $(SOURCEDIR) -name '*.s')
CSRC := $(shell find $(SOURCEDIR) -name '*.c')
OBJ := $(patsubst $(SOURCEDIR)/%.c,$(OBJECTDIR)/%.o,$(CSRC))\
$(patsubst $(SOURCEDIR)/%.s,$(OBJECTDIR)/%.o,$(SSRC))

@ -1 +1 @@
Subproject commit 4fd5ae3a6528cbeff4730af4128b4872ef6f66ea
Subproject commit 69caa70c38aac2894265887d61223e35aeed5f27

View File

@ -23,4 +23,6 @@ void kernel_main(void)
/* Newline support is left as an exercise. */
kprintf(0, "test %d a %d b %d\n", 10, 2, 3);
while (true)
terminal_getkey();
}