+application_env.Append(RUSTCFLAGS = [
+ '-C', 'link-arg=-Tsrc/application/application.ld',
+])
+
+application_elf = application_env.Rustc('gps-watch-application.elf',
+ application_source_files[0])
+
+for f in application_source_files:
+ Depends(application_elf, f)
+
+Depends(application_elf, 'libcommon.rlib')
+Depends(application_elf, 'libcommon.a')
+
+application_bin = application_env.Objcopy(application_elf)
+
+Default(application_bin)