From 7118b6998d76f76e97ad1b450712ed93c89d5077 Mon Sep 17 00:00:00 2001
From: Ben Avison <bavison@riscosopen.org>
Date: Mon, 23 Nov 2020 17:19:35 +0000
Subject: [PATCH] Define `export` rule for `CApp` shared makefile

With GNU `make` unlike with `amu`, it is considered an error to make a target
for which no rule is defined. Therefore we need an explicit no-op `export`
rule in the cross-compiling `CApp` makefile.
---
 GNUmakefiles/CApp | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/GNUmakefiles/CApp b/GNUmakefiles/CApp
index acc6d5a..070e6f9 100644
--- a/GNUmakefiles/CApp
+++ b/GNUmakefiles/CApp
@@ -274,4 +274,10 @@ include $(wildcard *.dd)
 
 endif
 
+export${CUSTOMEXP}: export_${PHASE}
+	@${NOP}
+
+export_ export_hdrs export_libs:
+	@${NOP}
+
 # EOF
-- 
GitLab