Fix compiler warnings
This commit is contained in:
parent
42cf96ab80
commit
21a793d211
|
|
@ -27,11 +27,12 @@ default: bin/$(TARGET)-$(ARCH)
|
|||
all: $(ARCHES)
|
||||
|
||||
$(ARCHES):
|
||||
$(MAKE) ARCH=$@
|
||||
@$(MAKE) ARCH=$@
|
||||
|
||||
bin/$(TARGET)-$(ARCH): $(OBJ)
|
||||
@mkdir -p $(@D)
|
||||
$(LD) $(LDFLAGS) $(OBJ) -o $@
|
||||
@echo Linking $@
|
||||
@$(LD) $(LDFLAGS) $(OBJ) -o $@
|
||||
|
||||
obj/$(ARCH)/%.o: src/%.c $(HFILES)
|
||||
@mkdir -p $(@D)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
#include "vga.h"
|
||||
#include <hal/ops.h>
|
||||
#include <print/print.h>
|
||||
|
||||
void panic(const char *message, const char *filename, int line) {
|
||||
vga_clear(VGA_BLUE);
|
||||
|
|
|
|||
Loading…
Reference in New Issue