Nav apraksta

1234567891011121314151617181920212223242526272829303132333435363738
  1. GRIT := grit
  2. CC := arm-none-eabi-gcc
  3. AR := arm-none-eabi-ar
  4. CFLAGS := -mthumb -mno-thumb-interwork -mcpu=arm7tdmi -mlong-calls -march=armv4t -O3 -std=c99
  5. ASSET_ROOT := sots-private/assets
  6. GFX_BUILD := gfx_build
  7. PNG_EMOT := assets/interface/emoticons.png
  8. PNG_TB := assets/interface/text_box.png
  9. PNG_MB := assets/interface/menu_box.png
  10. PNG_ARR := assets/interface/arrows.png
  11. B_EMOT := src/include/assets/interface/emoticons.img.bin
  12. B_TB := src/include/assets/interface/text_box.img.bin
  13. B_MB := src/include/assets/interface/menu_box.img.bin
  14. B_ARR := src/include/assets/interface/arrows.img.bin
  15. .PHONY: all
  16. all: $(C_AS_T) $(B_EMOT) $(B_TB) $(B_MB) $(B_ARR)
  17. $(C_AS_T): $(PNG_AS_T)
  18. $(GRIT) $< -gu32 -gzl -gB 4 -gt -p -pu16 -pz! -m! -ftc -o $@
  19. $(B_EMOT): $(PNG_EMOT)
  20. $(GRIT) $< -gu32 -gz! -gB 4 -gt -p! -m! -ftb -o $@
  21. $(B_TB): $(PNG_TB)
  22. $(GRIT) $< -gu32 -gz! -gB 4 -gt -p! -m! -ftb -o $@
  23. $(B_MB): $(PNG_MB)
  24. $(GRIT) $< -gu32 -gz! -gB 4 -gt -p! -m! -ftb -o $@
  25. $(B_ARR): $(PNG_ARR)
  26. $(GRIT) $< -gu32 -gz! -gB 4 -gt -p! -m! -ftb -o $@