Modified to run ncgg input files through the ANSI preprocessor rather than the K&R one.

This commit is contained in:
dtrg 2007-04-23 23:40:59 +00:00
parent f471d2e618
commit ae9ac25f45

View file

@ -61,7 +61,7 @@ ncgg = simple {
outputs = {"%U%/tables.c", "%U%/tables.h"},
command = {
"cd %out[1]:dirname% && (%BINDIR%%PLATDEP%/cpp -P -I%NCGGINCLUDEDIR% %in% | %TOOLDIR%ncgg)",
"cd %out[1]:dirname% && (%BINDIR%%PLATDEP%/cpp.ansi -P -I%NCGGINCLUDEDIR% %in% | %TOOLDIR%ncgg)",
"mv %out[1]:dirname%/tables.H %out[2]%"
},
}
@ -76,7 +76,10 @@ ncgg = simple {
-- Revision history
-- $Log$
-- Revision 1.2 2006-07-22 20:58:27 dtrg
-- Revision 1.3 2007-04-23 23:40:59 dtrg
-- Modified to run ncgg input files through the ANSI preprocessor rather than the K&R one.
--
-- Revision 1.2 2006/07/22 20:58:27 dtrg
-- cpp now gets installed in the right place.
--
-- Revision 1.1 2006/07/20 23:24:28 dtrg