Remove pattern rule

The built-in pattern rule for compiling a C++ source file already
considers CXXFLAGS, so this default behaviour is exactly what we want.
This Makefile really is now stripped to its bare form.
This commit is contained in:
bob committed 2026-10-15 10:08:00 +02:00
1 parent 5ae97d19f2
commit bfa6cc4dc0
1 file changed
-3
-3
View File
@@ -8,9 +8,6 @@ endif
.PHONY: clean .PHONY: clean
%.o: %.cpp
c++ $(CXXFLAGS) -c $<
{PROJECT}: {PROJECT}.o {PROJECT}: {PROJECT}.o
c++ -o {PROJECT} {PROJECT}.o c++ -o {PROJECT} {PROJECT}.o