Commits

Alex Chi committed 6506392

[BUG] can't generate the correct nmf file.

  • Participants
  • Parent commits 9bf7723

Comments (0)

Files changed (1)

File naclautomake/__init__.py

         res = ''
         if (nexe.nmf() == False):
             return res
-        res = linkString(res, '$(OUTPUT_PATH)/' + nexe.item(0).name() + '.nmf: ' + nexe.target('32') + ' ' + nexe.target('64'))
+        res = linkString(res, self.target(nexe) + ': ' + nexe.target('32') + ' ' + nexe.target('64'))
         res = linkString(res, '	$(CREATENMF) -D $(MAKE_OBJDUMP) -o $@ $^ -t ${TOOLCHAIN} -s $(OUTPUT_PATH)')
         res = linkString(res, 'ALL_TARGETS+=' + self.target(nexe))
         return res;