summaryrefslogtreecommitdiffstats
path: root/apps/plugins/picross/picross.make
blob: ead5ba482a3c9863d960fef463560dabaf01c3ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#             __________               __   ___.
#   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)/