summaryrefslogtreecommitdiffstats
path: root/tools/checkwps/Makefile
blob: faa75efac3436be7b5278b886549497c019fa9e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#             __________               __   ___.
#   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)