2009-08-21 20:26:53 +00:00
|
|
|
# __________ __ ___.
|
|
|
|
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
# \/ \/ \/ \/ \/
|
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
|
2009-09-01 14:53:37 +00:00
|
|
|
FLAGS=-g -D__PCTOOL__ -DDEBUG -DROCKBOX_DIR_LEN=9 -DWPS_DIR=\".\" $(TARGET)
|
2009-08-21 20:26:53 +00:00
|
|
|
|
2009-09-11 17:58:17 +00:00
|
|
|
SRC= $(call preprocess, $(TOOLSDIR)/checkwps/SOURCES)
|
2009-08-21 20:26:53 +00:00
|
|
|
|
2009-09-01 14:53:37 +00:00
|
|
|
INCLUDES = -I$(ROOTDIR)/apps/gui \
|
|
|
|
-I$(ROOTDIR)/apps/gui/skin_engine \
|
|
|
|
-I$(ROOTDIR)/firmware/export \
|
|
|
|
-I$(ROOTDIR)/apps \
|
|
|
|
-I$(ROOTDIR)/apps/recorder \
|
2009-10-07 16:54:15 +00:00
|
|
|
-I$(APPSDIR) \
|
|
|
|
-I$(BUILDDIR)
|
2009-08-21 20:26:53 +00:00
|
|
|
|
|
|
|
# Makes mkdepfile happy
|
|
|
|
GCCOPTS+=-D__PCTOOL__
|
|
|
|
|
2009-09-01 14:53:37 +00:00
|
|
|
.SECONDEXPANSION: # $$(OBJ) is not populated until after this
|
|
|
|
|
|
|
|
$(BUILDDIR)/$(BINARY): $$(OBJ)
|
|
|
|
@echo LD $(BINARY)
|
|
|
|
$(SILENT)$(HOSTCC) $(INCLUDE) $(FLAGS) -o $@ $+
|