Browse Source

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

dtrg 17 years ago
parent
commit
2b16e9f8dc
1 changed files with 5 additions and 2 deletions
  1. 5 2
      util/ncgg/pmfile

+ 5 - 2
util/ncgg/pmfile

@@ -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