summaryrefslogtreecommitdiffstats
path: root/tools/checkwps/Makefile
blob: 069b1e433426c7a3a3b365957ad7fd118acf5518 (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
#             __________               __   ___.
#   Open      \______   \ ____   ____ |  | _\_ |__   _______  ___
#   Source     |       _//  _ \_/ ___\|  |/ /| __ \ /  _ \  \/  /
#   Jukebox    |    |   (  <_> )  \___|    < | \_\ (  <_> > <  <
#   Firmware   |____|_  /\____/ \___  >__|_ \|___  /\____/__/\_ \
#                     \/            \/     \/    \/            \/
# $Id$
#

ROOT=../..

COMMON=$(ROOT)/apps/gui/wps_parser.c \
       $(ROOT)/apps/gui/wps_debug.c \
       $(ROOT)/apps/misc.c \
       $(ROOT)/apps/recorder/bmp.c

INCLUDE=-I $(ROOT)/apps/gui \
        -I $(ROOT)/firmware/export \
        -I $(ROOT)/apps \
        -I .

CFLAGS = -g -D__PCTOOL__ -DDEBUG -DROCKBOX_DIR_LEN=9 -DWPS_DIR=\".\" 

all: checkwps.$(MODEL)

checkwps.$(MODEL): checkwps.c  $(COMMON)
	@echo CC [$(TARGET)]
	@$(CC) $(INCLUDE) $(CFLAGS) $(COMMON) -D$(TARGET) checkwps.c -o $@

clean:
	rm -f checkwps.$(MODEL)