assets.mk 405 B

12345678910
  1. ASSETS_DIR := $(PROJECT_ROOT)/assets
  2. ASSETS_COMPILLER := $(ASSETS_DIR)/assets.py
  3. ASSETS_OUTPUT_DIR := $(ASSETS_DIR)/output
  4. ASSETS_SOURCE_DIR := $(ASSETS_DIR)/icons
  5. ASSETS_SOURCES += $(shell find $(ASSETS_SOURCE_DIR) -type f -iname '*.png' -or -iname 'frame_rate')
  6. ASSETS += $(ASSETS_OUTPUT_DIR)/assets_icons.c
  7. CFLAGS += -I$(ASSETS_OUTPUT_DIR)
  8. C_SOURCES += $(ASSETS_OUTPUT_DIR)/assets_icons.c