summaryrefslogtreecommitdiff
path: root/apps/plugins/clock/clock.make
blob: 9e03c6665b3ed9482aee1c2ffd92c8c452426e55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#             __________               __   ___.
#   Open      \______   \ ____   ____ |  | _\_ |__   _______  ___
#   Source     |       _//  _ \_/ ___\|  |/ /| __ \ /  _ \  \/  /
#   Jukebox    |    |   (  <_> )  \___|    < | \_\ (  <_> > <  <
#   Firmware   |____|_  /\____/ \___  >__|_ \|___  /\____/__/\_ \
#                     \/            \/     \/    \/            \/
# $Id$
#

CLOCKSRCDIR := $(APPSDIR)/plugins/clock
CLOCKBUILDDIR := $(BUILDDIR)/apps/plugins/clock

ROCKS += $(CLOCKBUILDDIR)/clock.rock

CLOCK_SRC := $(call preprocess, $(CLOCKSRCDIR)/SOURCES)
CLOCK_OBJ := $(call c2obj, $(CLOCK_SRC))

# add source files to OTHER_SRC to get automatic dependencies
OTHER_SRC += $(CLOCK_SRC)

$(CLOCKBUILDDIR)/clock.rock: $(CLOCK_OBJ)