assets.mk 425 B

12345678910
  1. ASSETS_DIR := $(PROJECT_ROOT)/assets
  2. ASSETS_COMPILLER := $(PROJECT_ROOT)/scripts/assets.py
  3. ASSETS_COMPILED_DIR := $(ASSETS_DIR)/compiled
  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_COMPILED_DIR)/assets_icons.c
  7. CFLAGS += -I$(ASSETS_COMPILED_DIR)
  8. C_SOURCES += $(ASSETS_COMPILED_DIR)/assets_icons.c