2008-09-03 20:51:13 +00:00
|
|
|
# __________ __ ___.
|
|
|
|
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
# \/ \/ \/ \/ \/
|
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
ROOT=../../..
|
|
|
|
|
|
|
|
CC = gcc
|
|
|
|
RM = rm -f
|
|
|
|
|
2008-09-04 14:49:53 +00:00
|
|
|
COMMON = main.c gd_bmp.c
|
2008-09-03 20:51:13 +00:00
|
|
|
|
2008-09-04 14:49:53 +00:00
|
|
|
INCLUDE = -I ../libwps/src \
|
|
|
|
-I $(ROOT)/apps/gui \
|
|
|
|
-I $(ROOT)/firmware/export \
|
|
|
|
-I $(ROOT)/apps/recorder \
|
|
|
|
-I $(ROOT)/apps \
|
|
|
|
-I .
|
2008-09-03 20:51:13 +00:00
|
|
|
|
|
|
|
CFLAGS = -g -Wall
|
|
|
|
|
|
|
|
all:
|
|
|
|
$(CC) $(INCLUDE) $(CFLAGS) $(COMMON) -rdynamic -ldl -lgd -lpng -o screenshot
|
|
|
|
|
|
|
|
clean:
|
|
|
|
$(RM) screenshot
|