From 7dc90ef744cf16ac4b4cb4e7d22f4c4686ae7225 Mon Sep 17 00:00:00 2001 From: Gloria Mundi Date: Thu, 13 Feb 2025 22:03:10 +0100 Subject: minor make fixes --- Makefile | 2 +- test/GNUmakefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 02a5361..4b6afdb 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ cleanpdf: cd content && $(LATEXMK) -r latexmk.opt -C cleantest: - +-gmake -C clean + +-gmake -C test clean FORCE: .PHONY: all pdf test clean cleanpdf cleantest FORCE diff --git a/test/GNUmakefile b/test/GNUmakefile index 5e57930..e7470a3 100644 --- a/test/GNUmakefile +++ b/test/GNUmakefile @@ -28,7 +28,7 @@ awk/%: %.awk ../content/% awk -f $*.awk < ../content/$* > $@ %.d: %.cpp $(addprefix awk/,$(AWK)) - $(CXX) -M -MT '$*.test $*.d' -MF $@ $< + $(CXX) -M -MP -MT '$*.test $*.d' -MF $@ $< .PHONY: test clean .SECONDARY: $(TESTS:=.test) $(addprefix awk/,$(AWK)) -- cgit v1.2.3