aboutsummaryrefslogtreecommitdiff
path: root/src/tests/utests/rules.make
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/utests/rules.make')
-rw-r--r--src/tests/utests/rules.make14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/tests/utests/rules.make b/src/tests/utests/rules.make
new file mode 100644
index 0000000..1f4bb1b
--- /dev/null
+++ b/src/tests/utests/rules.make
@@ -0,0 +1,14 @@
+LIB = ../../../lib/libkogata/libkogata.lib ../../../common/libc/libc.lib
+
+OBJ = test.o
+
+CFLAGS = -I . -I ../../../common/include -I ../../../lib/include -DBUILD_USER_TEST
+LDFLAGS = -T ../../../apps/linker.ld -Xlinker -Map=init.map
+
+OUT = init.bin
+
+include ../../../rules.make
+
+run_test: rebuild
+ ../run_qemu_test.sh
+