summaryrefslogtreecommitdiffstats
path: root/utils/wpseditor/screenshot/Makefile
blob: f9309f58a5c7027b6520863cdfd74556536ffb2e (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
#             __________               __   ___.
#   Open      \______   \ ____   ____ |  | _\_ |__   _______  ___
#   Source     |       _//  _ \_/ ___\|  |/ /| __ \ /  _ \  \/  /
#   Jukebox    |    |   (  <_> )  \___|    < | \_\ (  <_> > <  <
#   Firmware   |____|_  /\____/ \___  >__|_ \|___  /\____/__/\_ \
#                     \/            \/     \/    \/            \/
# $Id$
#
ROOT=../../..

CC = gcc
RM = rm -f

COMMON = main.c gd_bmp.c

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

CFLAGS = -g -Wall

all:
	$(CC) $(INCLUDE) $(CFLAGS) $(COMMON) -rdynamic -ldl -lgd -lpng -o screenshot

clean:
	$(RM) screenshot