rockbox/tools/checkwps/Makefile
Maurus Cuelenaere 8ccd04c33d Add CheckWPS entry to tools/configure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22456 a1c6a512-1295-4272-9138-f99709370657
2009-08-21 20:26:53 +00:00

36 lines
878 B
Makefile

# __________ __ ___.
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
# \/ \/ \/ \/ \/
# $Id$
#
ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN)
CFLAGS+=-mno-cygwin
EXT = .exe
else
ifeq ($(findstring MINGW,$(shell uname)),MINGW)
EXT = .exe
CC = mingw32-gcc
endif
endif
# This is a wrapper for checkwps.make
APPSDIR=.
ROOTDIR=../..
BUILDDIR=.
BINARY=checkwps.$(MODELNAME)$(EXT)
HOSTCC=$(CC)
TARGET=-D$(TARGETNAME)
include checkwps.make
all:
@echo To build, run the buildall.sh script
checkwps: $(BUILDDIR)/$(BINARY)
@echo foo > /dev/null
clean:
rm -f checkwps.$(MODELNAME)$(EXT)