blob: c4057a5e76d0fbd9caf3755781cfffa327033b0d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
##################################################
# (c) Amlal El Mahrouss and NeKernel Authors, licensed under the Apache 2.0 license.
# This file is for kernel testing.
##################################################
GCC=x86_64-w64-mingw32-g++ -Wl,-subsystem=17
LIB=-L../../src/libSystem -lSystem
STD=-std=c++20 -DKT_TESTING_ENABLED
INCLUDE=-I../../src -I../../public -I../../public/frameworks/ -I../../
OBJ_FILES = \
error.test.exe \
print.test.exe \
process.test.exe
.PHONY: all
all: $(OBJ_FILES)
%.exe: %.cc
@echo "==> Building test: $@"
$(GCC) $(LIB) $< \
$(STD) $(INCLUDE) -o $(basename $<).exe
|