1
0
mirror of https://github.com/skeeto/w64devkit.git synced 2025-08-07 22:42:54 +03:00

Remove Cppcheck from the distribution

I was initially impressed with its output, but over time I've found it
less and less useful. I hardly use it anymore, and it would at best be
neglected if left in the distribution. The build script is retained in
the contrib/ directory, and it's easy to build natively from source.
This commit is contained in:
Christopher Wellons
2024-07-29 14:23:16 -04:00
parent ec561dae94
commit 6b6b6449d7
6 changed files with 2 additions and 62 deletions

8
contrib/cppcheck.mak Normal file
View File

@@ -0,0 +1,8 @@
ext := $(shell find externals -mindepth 1 -type d)
src := $(shell find cli lib externals -name '*.cpp')
obj := $(src:.cpp=.o)
CXXFLAGS := -w -Os -Ilib $(addprefix -I,$(ext))
cppcheck.exe: $(obj)
$(CXX) -s -o $@ $(obj) -lshlwapi
cppcheck: $(obj)
$(CXX) -pthread -s -o $@ $(obj)