2008-03-26 20:19:39 +00:00
|
|
|
# __________ __ ___.
|
|
|
|
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
# \/ \/ \/ \/ \/
|
2008-03-26 20:20:39 +00:00
|
|
|
# $Id$
|
2008-03-26 20:19:39 +00:00
|
|
|
#
|
|
|
|
|
2008-05-12 18:30:18 +00:00
|
|
|
ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN)
|
|
|
|
CFLAGS+=-mno-cygwin
|
2008-05-12 20:31:50 +00:00
|
|
|
EXT = .exe
|
2008-05-12 18:30:18 +00:00
|
|
|
else
|
|
|
|
ifeq ($(findstring MINGW,$(shell uname)),MINGW)
|
|
|
|
EXT = .exe
|
|
|
|
CC = mingw32-gcc
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2009-08-21 20:26:53 +00:00
|
|
|
# This is a wrapper for checkwps.make
|
|
|
|
APPSDIR=.
|
|
|
|
ROOTDIR=../..
|
|
|
|
BUILDDIR=.
|
|
|
|
BINARY=checkwps.$(MODELNAME)$(EXT)
|
|
|
|
HOSTCC=$(CC)
|
|
|
|
TARGET=-D$(TARGETNAME)
|
|
|
|
include checkwps.make
|
2008-03-26 23:35:34 +00:00
|
|
|
|
2008-03-27 00:00:53 +00:00
|
|
|
all:
|
|
|
|
@echo To build, run the buildall.sh script
|
2008-03-26 23:35:34 +00:00
|
|
|
|
2009-08-21 20:26:53 +00:00
|
|
|
checkwps: $(BUILDDIR)/$(BINARY)
|
|
|
|
@echo foo > /dev/null
|
2008-03-26 20:19:39 +00:00
|
|
|
|
|
|
|
clean:
|
2009-08-21 20:26:53 +00:00
|
|
|
rm -f checkwps.$(MODELNAME)$(EXT)
|