瀏覽代碼

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

dtrg 17 年之前
父節點
當前提交
2b16e9f8dc
共有 1 個文件被更改,包括 5 次插入2 次删除
  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