561df3827e
* Simplify Makefile * Get rid of buildall.* * Change library loading behaviour to work with MODEL_NAME Screenshot: * Simplify Makefile config-*.h: * Add MODEL_NAME git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18407 a1c6a512-1295-4272-9138-f99709370657
29 lines
758 B
Makefile
29 lines
758 B
Makefile
# __________ __ ___.
|
|
# 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
|