rockbox/tools/checkwps/Makefile
Dave Chapman 61f1735c59 Prevent the user from running "make" directly - it should only be invoked by the buildall.sh script
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16834 a1c6a512-1295-4272-9138-f99709370657
2008-03-27 00:00:53 +00:00

32 lines
934 B
Makefile

# __________ __ ___.
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
# \/ \/ \/ \/ \/
# $Id$
#
ROOT=../..
COMMON=$(ROOT)/apps/gui/wps_parser.c \
$(ROOT)/apps/gui/wps_debug.c \
$(ROOT)/apps/misc.c \
$(ROOT)/apps/recorder/bmp.c
INCLUDE=-I $(ROOT)/apps/gui \
-I $(ROOT)/firmware/export \
-I $(ROOT)/apps \
-I .
CFLAGS = -g -D__PCTOOL__ -DDEBUG -DROCKBOX_DIR_LEN=9 -DWPS_DIR=\".\"
all:
@echo To build, run the buildall.sh script
checkwps.$(MODEL): checkwps.c $(COMMON)
@echo CC [$(TARGET)]
@$(CC) $(INCLUDE) $(CFLAGS) $(COMMON) -D$(TARGET) checkwps.c -o $@
clean:
rm -f checkwps.$(MODEL)