Без опису

1234567891011121314151617181920212223242526272829
  1. AS = @arm-none-eabi-as
  2. LD = @arm-none-eabi-ld
  3. AR = @arm-none-eabi-ar
  4. GRIT = @grit
  5. GFX_BUILD_DIR = gfx_build
  6. ICON_AR = object/pkmn_icons.a
  7. I_ASSET_ROOT = sots-private/assets
  8. ICON_FILES = $(wildcard $(I_ASSET_ROOT)/pkmn_icons/*.png)
  9. OBJ_FILES = $(addprefix $(GFX_BUILD_DIR)/icons/,$(notdir $(ICON_FILES:.png=.o)))
  10. all: $(ICON_AR)
  11. .PHONY: clean
  12. clean:
  13. @echo -e "TRYING TO CLEAN ICONS FROM WRONG MAKEFILE"
  14. #$(ICON_AR): $(OBJ_FILES)
  15. # @echo "\033[1;32mCreating archive $@\033[0m"
  16. # $(AR) rcs $@ $^
  17. #$(GFX_BUILD_DIR)/icons/%.o: $(GFX_BUILD_DIR)/icons/%.s
  18. # @echo "\033[32mAssembling $<\033[0m"
  19. # $(AS) -o $@ $<
  20. #$(GFX_BUILD_DIR)/icons/%.s: $(I_ASSET_ROOT)/pkmn_icons/%.png
  21. # @echo "\033[34mProcessing image $<\033[0m"
  22. # $(GRIT) $< -fts -fh! -g -gB 4 -gt -gz! -m! -p! -s icon_$(notdir $(basename $<)) -o $@