2 # Open \______ \ ____ ____ | | _\_ |__ _______ ___
3 # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4 # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5 # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
12 ifeq ($(findstring CYGWIN
,$(shell uname
)),CYGWIN
)
16 ifeq ($(findstring MINGW
,$(shell uname
)),MINGW
)
22 COMMON
=$(ROOT
)/apps
/gui
/wps_parser.c \
23 $(ROOT
)/apps
/gui
/wps_debug.c \
25 $(ROOT
)/apps
/recorder
/bmp.c
27 INCLUDE
=-I
$(ROOT
)/apps
/gui \
28 -I
$(ROOT
)/firmware
/export \
30 -I
$(ROOT
)/apps
/recorder \
33 CFLAGS
= -g
-D__PCTOOL__
-DDEBUG
-DROCKBOX_DIR_LEN
=9 -DWPS_DIR
=\".
\"
36 @echo To build
, run the buildall.sh script
38 checkwps
: checkwps.c
$(COMMON
)
40 @
$(CC
) $(INCLUDE
) $(CFLAGS
) $(COMMON
) -D
$(TARGET
) checkwps.c
-o
$@.
$(MODEL
)$(EXT
)
43 rm -f checkwps.
$(MODEL
)$(EXT
)