summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGloria Mundi <gloria@gloria-mundi.eu>2025-02-13 22:03:10 +0100
committerGloria Mundi <gloria@gloria-mundi.eu>2025-02-13 22:03:10 +0100
commit7dc90ef744cf16ac4b4cb4e7d22f4c4686ae7225 (patch)
tree79708c371e69c525f6d3b2efc892b024846096c2
parent8d707127988c2a96d0e182ba8e1520a2b466fc18 (diff)
minor make fixes
-rw-r--r--Makefile2
-rw-r--r--test/GNUmakefile2
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))