[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PSWrap problems
From: |
Nicola Pero |
Subject: |
Re: PSWrap problems |
Date: |
Tue, 11 Dec 2001 01:28:45 +0000 (GMT) |
Ok - thanks - very convincing argument - I applied your patch to CVS.
> This is a very reasonable argument for not have the headers be public
> by default. However, simply adding the header to HEADER_FILES does not
> succeed in solving the problem (at least in a framework.) This is
> because the headers are copied to the .framework directory before any c
> code is compiled - thus the header files are not yet generated. this can
> be fixed by adding the rule that was in my previous email (reprinted
> below) which lets the .h files be created as needed as well as the .c
> files (if you would like the GNUmakefile which I am using that can
> provided privately) -
>
> --- Makefiles.original/rules.make Fri Dec 7 17:44:19 2001
> +++ Makefiles/rules.make Sat Dec 8 15:36:11 2001
> @@ -391,6 +391,9 @@
> %.c : %.psw
> pswrap -h $*.h -o $@ $<
>
> +%.h : %.psw
> + pswrap -h $@ -o $*.c $<
> +