Change intermediate data file extension to .datax

This commit is contained in:
Mohammad Azim Khan 2018-06-28 13:10:19 +01:00
parent ff560f2239
commit 00c4b090c1
2 changed files with 3 additions and 3 deletions

View file

@ -205,9 +205,9 @@ $(BINARIES): %$(EXEXT): %.c $(DEP)
clean:
ifndef WINDOWS
rm -rf $(APPS) *.c *.data TESTS
rm -rf $(APPS) *.c *.datax TESTS
else
del /Q /F *.c *.exe *.data
del /Q /F *.c *.exe *.datax
rmdir /Q /S TESTS
endif

View file

@ -732,7 +732,7 @@ def check_cmd():
data_name = os.path.splitext(data_file_name)[0]
out_c_file = os.path.join(args.out_dir, data_name + '.c')
out_data_file = os.path.join(args.out_dir, data_file_name)
out_data_file = os.path.join(args.out_dir, data_name + '.datax')
out_c_file_dir = os.path.dirname(out_c_file)
out_data_file_dir = os.path.dirname(out_data_file)