2009-08-21 20:26:53 +00:00
|
|
|
# __________ __ ___.
|
|
|
|
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
# \/ \/ \/ \/ \/
|
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
|
2010-02-24 05:58:16 +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
|
|
|
|
GCCOPTS+=-D__PCTOOL__
|
|
|
|
|
2009-09-01 14:53:37 +00:00
|
|
|
.SECONDEXPANSION: # $$(OBJ) is not populated until after this
|
|
|
|
|
|
|
|
$(BUILDDIR)/$(BINARY): $$(OBJ)
|
2010-05-17 15:16:44 +00:00
|
|
|
@echo LD $(BINARY)
|
|
|
|
$(SILENT)$(HOSTCC) $(INCLUDE) $(FLAGS) -o $@ $+
|