fix compiler warnings

This commit is contained in:
2024-08-13 13:19:28 -07:00
parent 251a7f405e
commit 3e65bd58c5
8 changed files with 28 additions and 24 deletions

15
Makefile Normal file
View File

@ -0,0 +1,15 @@
CMAKE_OPTS=-DCMAKE_EXPORT_COMPILE_COMMANDS=1
.PHONY: all clean run
all:
mkdir -p build
cd build && \
cmake ${CMAKE_OPTS} .. && \
$(MAKE) && \
cp compile_commands.json ..
clean:
rm -rf build
rm -f compile_commands.json