From fdb2846d7ce34d1755abbf28a07a35bb971899a5 Mon Sep 17 00:00:00 2001 From: Nicola Pero Date: Tue, 11 Dec 2001 01:27:16 +0000 Subject: [PATCH] Added rule to build %.h files from %.psw files - needed in frameworks git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@11691 72102866-910b-0410-8b05-ffd578937521 --- rules.make | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rules.make b/rules.make index 4d5cd921..a05fd583 100644 --- a/rules.make +++ b/rules.make @@ -391,6 +391,10 @@ $(GNUSTEP_OBJ_DIR)/%${OEXT} : %.cp %.c : %.psw pswrap -h $*.h -o $@ $< +# The following rule is needed because in frameworks you might need +# the .h files before the .c files are compiled. +%.h : %.psw + pswrap -h $@ -o $*.c $< # Prevent make from trying to remove stuff like # libcool.library.all.subprojects thinking that it is a temporary file