General Purpose library for Freestanding C++ and POSIX systems
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

17 lines
410 B

CXX= clang++
CXXFLAGS= --std=c++20 -target x86_64-none-linux-elf -Os -ffreestanding -nostdlib -pedantic \
-Wno-unknown-attributes -fno-omit-frame-pointer -MD -fno-use-cxa-atexit -fno-rtti -I../../include -I.
# -fsanitize=address -fsanitize-blacklist=blacklist.txt
all: tests
tests: bin/tests
# ./bin/tests
bin/tests: main.cpp
@mkdir -p $(@D)
$(CXX) $(CXXFLAGS) main.cpp -o $@
clean: ./bin
@rm -rf $<