General Purpose library for Freestanding C++ and POSIX systems
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

16 行
410 B

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