2009-08-21 20:26:53 +00:00
|
|
|
# __________ __ ___.
|
|
|
|
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
# \/ \/ \/ \/ \/
|
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
|
2010-08-10 14:32:08 +00:00
|
|
|
FLAGS=-g -D__PCTOOL__ $(TARGET) -Wall
|
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 \
|
2010-05-06 21:10:19 +00:00
|
|
|
-I$(ROOTDIR)/firmware/include \
|
2009-09-01 14:53:37 +00:00
|
|
|
-I$(ROOTDIR)/apps \
|
|
|
|
-I$(ROOTDIR)/apps/recorder \
|
2010-05-17 15:11:07 +00:00
|
|
|
-I$(ROOTDIR)/apps/radio \
|
2009-10-07 16:54:15 +00:00
|
|
|
-I$(APPSDIR) \
|
|
|
|
-I$(BUILDDIR)
|
2009-08-21 20:26:53 +00:00
|
|
|
|
|
|
|
# Makes mkdepfile happy
|
2010-11-03 11:08:55 +00:00
|
|
|
GCCOPTS+=-D__PCTOOL__ -DCHECKWPS -g
|
2009-08-21 20:26:53 +00:00
|
|
|
|
2009-09-01 14:53:37 +00:00
|
|
|
.SECONDEXPANSION: # $$(OBJ) is not populated until after this
|
|
|
|
|
2010-07-29 12:37:48 +00:00
|
|
|
$(BUILDDIR)/$(BINARY): $$(OBJ) $$(SKINLIB)
|
2010-05-17 15:16:44 +00:00
|
|
|
@echo LD $(BINARY)
|
2010-07-29 12:37:48 +00:00
|
|
|
$(SILENT)$(HOSTCC) $(INCLUDE) $(FLAGS) -L$(BUILDDIR)/lib -lskin_parser -o $@ $+
|