summaryrefslogtreecommitdiffstats
path: root/tools/checkwps/checkwps.make
blob: 0a455e977050235b1c41de4f6b7cf5c26fdedf77 (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
25
26
27
28
29
30
31
32
33
34
#             __________               __   ___.
#   Open      \______   \ ____   ____ |  | _\_ |__   _______  ___
#   Source     |       _//  _ \_/ ___\|  |/ /| __ \ /  _ \  \/  /
#   Jukebox    |    |   (  <_> )  \___|    < | \_\ (  <_> > <  <
#   Firmware   |____|_  /\____/ \___  >__|_ \|___  /\____/__/\_ \
#                     \/            \/     \/    \/            \/
# $Id$
#

FLAGS=-g -D__PCTOOL__ -DDEBUG -DROCKBOX_DIR_LEN=9 -DWPS_DIR=\".\" $(TARGET)

SRC = $(ROOTDIR)/apps/gui/skin_engine/wps_debug.c \
      $(ROOTDIR)/apps/gui/skin_engine/skin_parser.c \
      $(ROOTDIR)/apps/gui/skin_engine/skin_buffer.c \
      $(ROOTDIR)/apps/misc.c \
      $(ROOTDIR)/apps/recorder/bmp.c \
      $(ROOTDIR)/firmware/common/strlcpy.c \
      $(APPSDIR)/checkwps.c

INCLUDES = -I$(ROOTDIR)/apps/gui \
           -I$(ROOTDIR)/apps/gui/skin_engine \
           -I$(ROOTDIR)/firmware/export \
           -I$(ROOTDIR)/apps \
           -I$(ROOTDIR)/apps/recorder \
           -I$(APPSDIR)

# Makes mkdepfile happy
GCCOPTS+=-D__PCTOOL__

.SECONDEXPANSION: # $$(OBJ) is not populated until after this

$(BUILDDIR)/$(BINARY): $$(OBJ)
	@echo LD $(BINARY)
	$(SILENT)$(HOSTCC) $(INCLUDE) $(FLAGS) -o $@ $+