mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
add sorting directories as files move picross files to a hidden folder use directory for lua_scripts, sgt_puzzles make plugin browser able to handle 1st level directories Change-Id: I30852d71dc992c378d5790756e94f06f5a2e9bef
24 lines
862 B
Makefile
24 lines
862 B
Makefile
# __________ __ ___.
|
|
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
# \/ \/ \/ \/ \/
|
|
# $Id$
|
|
#
|
|
|
|
PICRSCR_SRCDIR := $(APPSDIR)/plugins/picross
|
|
PICRSCR_BUILDDIR := $(BUILDDIR)/apps/plugins/.picross
|
|
PICRSCRS := $(wildcard $(PICRSCR_SRCDIR)/*.picross)
|
|
|
|
#DUMMY := $(info [${PICRSCRS}])
|
|
|
|
DUMMY : all
|
|
|
|
all: $(subst $(PICRSCR_SRCDIR)/,$(PICRSCR_BUILDDIR)/,$(PICRSCRS))
|
|
|
|
$(PICRSCR_BUILDDIR)/%.picross: $(PICRSCR_SRCDIR)/%.picross | $(PICRSCR_BUILDDIR)
|
|
$(call PRINTS,CP $(subst $(APPSDIR)/,,$<))cp $< $@
|
|
|
|
$(PICRSCR_BUILDDIR):
|
|
$(call PRINTS,MKDIR $@)mkdir -p $(PICRSCR_BUILDDIR)/
|