FS#9638 - temp_cue is unused and wasting memory.
[kugel-rb.git] / tools / checkwps / Makefile
blob1bdf3580f92c312642196432ffbce0a009589d8b
1 # __________ __ ___.
2 # Open \______ \ ____ ____ | | _\_ |__ _______ ___
3 # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4 # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5 # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
6 # \/ \/ \/ \/ \/
7 # $Id$
10 ROOT=../..
12 ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN)
13 CFLAGS+=-mno-cygwin
14 EXT = .exe
15 else
16 ifeq ($(findstring MINGW,$(shell uname)),MINGW)
17 EXT = .exe
18 CC = mingw32-gcc
19 endif
20 endif
22 COMMON=$(ROOT)/apps/gui/wps_parser.c \
23 $(ROOT)/apps/gui/wps_debug.c \
24 $(ROOT)/apps/misc.c \
25 $(ROOT)/apps/recorder/bmp.c
27 INCLUDE=-I $(ROOT)/apps/gui \
28 -I $(ROOT)/firmware/export \
29 -I $(ROOT)/apps \
30 -I $(ROOT)/apps/recorder \
31 -I .
33 CFLAGS = -g -D__PCTOOL__ -DDEBUG -DROCKBOX_DIR_LEN=9 -DWPS_DIR=\".\"
35 all:
36 @echo To build, run the buildall.sh script
38 checkwps: checkwps.c $(COMMON)
39 @echo CC [$(TARGET)]
40 @$(CC) $(INCLUDE) $(CFLAGS) $(COMMON) -D$(TARGET) checkwps.c -o $@.$(MODEL)$(EXT)
42 clean:
43 rm -f checkwps.$(MODEL)$(EXT)