libcp/test/Makefile
2025-05-11 21:51:54 +03:00

19 lines
317 B
Makefile

all: ../build/libc+ test compile_commands.json
clean:
rm -rf test *.o compile_commands.json
test: test.o
cc -o $@ $^ -L../build -l:libc+.a # -nostdlib++ -lsupc++
%.o: %.cpp
cc -c -o $@ $< -std=c++23 -I../src/include # -nostdinc++
../build/libc+:
$(MAKE) -C ../
compile_commands.json:
compiledb -n make