diff --git a/apps/plugins/plugins.make b/apps/plugins/plugins.make index 768b6e6..dad405d 100644 --- a/apps/plugins/plugins.make +++ b/apps/plugins/plugins.make @@ -44,6 +44,8 @@ $(BUILDDIR)/credits.raw credits.raw: $(DOCSDIR)/CREDITS # special dependencies $(BUILDDIR)/apps/plugins/wav2wv.rock: $(BUILDDIR)/apps/codecs/libwavpack.a +$(BUILDDIR)/apps/plugins/lib/oldmenuapi.c: $(BUILDDIR)/sysfont.h + # special pattern rule for compiling plugin lib (with -ffunction-sections) $(BUILDDIR)/apps/plugins/lib/%.o: $(ROOTDIR)/apps/plugins/lib/%.c $(SILENT)mkdir -p $(dir $@) diff --git a/tools/tools.make b/tools/tools.make index 86fd21d..a7606cb 100644 --- a/tools/tools.make +++ b/tools/tools.make @@ -8,6 +8,13 @@ $(TOOLSDIR)/scramble: $(TOOLSDIR)/scramble.o $(TOOLSDIR)/iriver.o \ $(call PRINTS,LD $(@F)) $(SILENT)$(HOSTCC) $(TOOLSCFLAGS) $+ -o $@ +$(TOOLSDIR)/scramble.o: $(TOOLSDIR)/scramble.c $(TOOLSDIR)/iriver.h $(TOOLSDIR)/mi4.h $(TOOLSDIR)/gigabeat.h $(TOOLSDIR)/telechips.h $(TOOLSDIR)/iaudio_bl_flash.h $(TOOLSDIR)/creative.h + +$(TOOLSDIR)/iaudio_bl_flash.o: $(TOOLSDIR)/iaudio_bl_flash.c $(TOOLSDIR)/iaudio_bl_flash.h + +$(TOOLSDIR)/iaudio_bl_flash.c $(TOOLSDIR)/iaudio_bl_flash.h: $(TOOLSDIR)/iaudio_bl_flash.bmp $(TOOLSDIR)/bmp2rb + $(SILENT)$(TOOLSDIR)/bmp2rb -f 7 -h $(TOOLSDIR) $< >$(TOOLSDIR)/iaudio_bl_flash.c + $(TOOLSDIR)/bmp2rb: $(TOOLSDIR)/bmp2rb.c $(call PRINTS,CC $(@F)) $(SILENT)$(HOSTCC) -DAPPLICATION_NAME=\"$@\" $(TOOLSCFLAGS) $+ -o $@