Skip to content

Commit

Permalink
Fix dependency in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
flagrama committed Aug 12, 2024
1 parent e5f4096 commit da7a106
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ASM/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,14 @@ $(OBJDIR)/%_bin.o: $(RESOURCEDIR)/%.bin
$(OBJCOPY) --redefine-sym _binary_resources_$*_bin_end=$(call UC,$*)_RESOURCE_END $@
$(OBJCOPY) --redefine-sym _binary_resources_$*_bin_size=$(call UC,$*)_RESOURCE_SIZE $@


$(RESOURCEDIR):
mkdir -p $@

bundle: $(OBJDIR) $(OBJECTS) $(RESOURCEDIR) $(RESOURCES)
$(OBJECTS): | $(OBJDIR)

$(RESOURCES): | $(OBJDIR) $(RESOURCEDIR)

bundle: $(RESOURCES) $(OBJECTS)
$(LD) -T linker_script.ld -T ootSymbols.ld -o $(OUTDIR)/bundle.o -i -L. $(patsubst %.o,-l:%.o,$(OBJECTS) $(RESOURCES))

symbols: bundle
Expand Down

0 comments on commit da7a106

Please sign in to comment.