diff --git a/Maintenance/makefile b/Maintenance/makefile index 84e4a703f2..19ea32b674 100644 --- a/Maintenance/makefile +++ b/Maintenance/makefile @@ -40,16 +40,16 @@ make-as4-projects: source_files="`basename $$project_makefile`<\/OTHERFILE>"; \ gcc_source_files=""; \ for c_source_file in `find $$target_folder -name *.c`; do \ - source_files+="`basename $$c_source_file`<\/SOURCEFILE>"; \ - gcc_source_files+="`basename $$c_source_file`<\/Name>"; \ + source_files="$$source_files`basename $$c_source_file`<\/SOURCEFILE>"; \ + gcc_source_files="$$gcc_source_files`basename $$c_source_file`<\/Name>"; \ done; \ for c_header_file in `find $$target_folder -name *.h`; do \ - source_files+="`basename $$c_header_file`<\/HEADERFILE>"; \ - gcc_source_files+="`basename $$c_header_file`<\/Name>"; \ + source_files="$$source_files`basename $$c_header_file`<\/HEADERFILE>"; \ + gcc_source_files="$$gcc_source_files`basename $$c_header_file`<\/Name>"; \ done; \ for assembly_file in `find $$target_folder -name *.S`; do \ - source_files+="`basename $$assembly_file`<\/OTHERFILE>"; \ - gcc_source_files+="`basename $$assembly_file`<\/Name>"; \ + source_files="$$source_files`basename $$assembly_file`<\/OTHERFILE>"; \ + gcc_source_files="$$gcc_source_files`basename $$assembly_file`<\/Name>"; \ done; \ \ sed "s/%TARGET%/$$target_name/g" AS4Template.aps > $$target_folder/$$target_name.aps.new; \