--- a/plugins/c_ext/c_ext.py Thu Sep 20 17:32:52 2007 +0200
+++ b/plugins/c_ext/c_ext.py Fri Sep 21 17:48:34 2007 +0200
@@ -130,7 +130,7 @@
location_str = "_".join(map(lambda x:str(x), current_location))
res = []
for CFile in self.CFileBaseNames():
- Gen_Cfile_path = os.path.join(buildpath, location_str + "_" + os.path.splitext(CFile)[0] + "_CFile.c" )
+ Gen_Cfile_path = os.path.join(buildpath, "CFile_%s_%s.c"%(location_str, os.path.splitext(CFile)[0]))
f = open(Gen_Cfile_path,'w')
f.write("/* Header generated by Beremiz c_ext plugin */\n")
f.write("#include \"iec_std_lib.h\"\n")