diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-27 01:30:00 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-27 01:30:00 +0100 |
| commit | 0fece463b13c0b6982ceb1be3e26c12444b1cb9e (patch) | |
| tree | 4ac9fb9903bb7be5de6484c42a897174464fc06f | |
| parent | aba2e40affa6f151dbe496c93f4b19d4bbc62c79 (diff) | |
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
| -rw-r--r-- | test/kernel_tests/libddk_tests/Makefile | 7 | ||||
| -rw-r--r-- | test/module_tests/libpthread_tests/Makefile | 19 |
2 files changed, 21 insertions, 5 deletions
diff --git a/test/kernel_tests/libddk_tests/Makefile b/test/kernel_tests/libddk_tests/Makefile index a2bb9d4f..de3df855 100644 --- a/test/kernel_tests/libddk_tests/Makefile +++ b/test/kernel_tests/libddk_tests/Makefile @@ -4,14 +4,11 @@ ################################################## GCC=x86_64-w64-mingw32-g++ -Wl,-subsystem=17 -LIB=-L../../src/libSystem -lSystem +LIB=-L../../src/libDDK -lDDK STD=-std=c++20 -DKT_TESTING_ENABLED INCLUDE=-I../../src -I../../public -I../../public/frameworks/ -I../../ -OBJ_FILES = \ - thread.test.exe \ - memory.test.exe \ - io.test.exe +OBJ_FILES = .PHONY: all all: $(OBJ_FILES) diff --git a/test/module_tests/libpthread_tests/Makefile b/test/module_tests/libpthread_tests/Makefile new file mode 100644 index 00000000..cb3f818c --- /dev/null +++ b/test/module_tests/libpthread_tests/Makefile @@ -0,0 +1,19 @@ +################################################## +# (c) Amlal El Mahrouss and NeKernel Authors, licensed under the Apache 2.0 license. +# This file is for libsystem testing. +################################################## + +GCC=x86_64-w64-mingw32-g++ -Wl,-subsystem=17 +LIB=-L../../src/libPThread -lPThread +STD=-std=c++20 -DKT_TESTING_ENABLED +INCLUDE=-I../../src -I../../public -I../../public/frameworks/ -I../../ + +OBJ_FILES = + +.PHONY: all +all: $(OBJ_FILES) + +%.exe: %.cc + @echo "==> Building test: $@" + $(GCC) $(LIB) $< \ + $(STD) $(INCLUDE) -o $(basename $<).exe
\ No newline at end of file |
