blob: fac175d1ac8d61daecbde46d83a9ab50d8423c28 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
LIB = ../../../kernel/kernel.lib
OBJ = kmain.o sys.o
CFLAGS = -I . -I ../../../common/include -I ../../../kernel/include -DBUILD_KERNEL_TEST
LDFLAGS = -T ../../../kernel/linker.ld -Xlinker -Map=test_kernel.map
OUT = test_kernel.bin
include ../../../rules.make
%.o: ../../../kernel/core/%.c test.c
$(CC) -c $< -o $@ $(CFLAGS)
run_test: rebuild
../run_qemu_test.sh
|