Hi Morhaf,
Use rather:
% make -k clean
% make -k
% make -k
cheers,
Stephane
On 6/13/22 11:33, MORHAF ALJBER wrote:
> Dear Prof.Stephane,
>
> I update the basilisk code and when and recompiled using "make clean" I
> received the following error.
>
> cc -O2 -g -Wall -pipe -D_FORTIFY_SOURCE=2 -DDUMBGL
> /home/morhaf/basilisk/src/qcc.c -o /home/morhaf/basilisk/src/qcc
> /home/morhaf/basilisk/src/qcc.c: In function ‘main’:
> /home/morhaf/basilisk/src/qcc.c:124:22: error: ‘CC99’ undeclared (first
> use in this function)
> 124 | strcpy (command, CC99);
> | ^~~~
> /home/morhaf/basilisk/src/qcc.c:124:22: note: each undeclared identifier
> is reported only once for each function it appears in
> /home/morhaf/basilisk/src/qcc.c:166:26: error: ‘CADNACC’ undeclared
> (first use in this function)
> 166 | strcpy (command, CADNACC);
> | ^~~~~~~
> /home/morhaf/basilisk/src/qcc.c:330:34: error: ‘CPP99’ undeclared (first
> use in this function)
> 330 | if (!cppcommand && strcmp (CPP99, ""))
> | ^~~~~
> /home/morhaf/basilisk/src/qcc.c:360:24: error: ‘BASILISK’ undeclared
> (first use in this function)
> 360 | strcat (preproc, BASILISK);
> | ^~~~~~~~
> /home/morhaf/basilisk/src/qcc.c:363:24: error: ‘LIBDIR’ undeclared
> (first use in this function)
> 363 | strcat (preproc, LIBDIR);
> | ^~~~~~
> make: *** [<builtin>: /home/morhaf/basilisk/src/qcc] Error 1
>
> Best regards,
> Morhaf
>
>
> On Saturday, June 11, 2022 at 5:29:02 PM UTC+9 Stephane Popinet wrote:
>
> Dear all,
>
> I have just released a new version with a major update/rewrite of the
> Basilisk C preprocessor (qcc).
>
> This is a complete rewrite with a proper grammar, see here if you are
> interested in the details:
>
>
http://basilisk.fr/src/ast/README <
http://basilisk.fr/src/ast/README>