diff options
| author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-09-03 20:51:13 +0000 |
|---|---|---|
| committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-09-03 20:51:13 +0000 |
| commit | c1c1383e235a85d504f476b25c0b41bbfe8d927c (patch) | |
| tree | b3332b66c3ddd95f74c214ee1aec56997a1279d2 /utils/wpseditor/screenshot/Makefile | |
| parent | 4f26222a9f3cfe4d52f04785807df95e75c32d86 (diff) | |
| download | rockbox-c1c1383e235a85d504f476b25c0b41bbfe8d927c.zip rockbox-c1c1383e235a85d504f476b25c0b41bbfe8d927c.tar.gz rockbox-c1c1383e235a85d504f476b25c0b41bbfe8d927c.tar.bz2 rockbox-c1c1383e235a85d504f476b25c0b41bbfe8d927c.tar.xz | |
* WPS editor: set eol-style
* Add CLI-only screenshot utility (using libwps)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18402 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/wpseditor/screenshot/Makefile')
| -rw-r--r-- | utils/wpseditor/screenshot/Makefile | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/utils/wpseditor/screenshot/Makefile b/utils/wpseditor/screenshot/Makefile new file mode 100644 index 0000000..18a6de3 --- /dev/null +++ b/utils/wpseditor/screenshot/Makefile @@ -0,0 +1,43 @@ +# __________ __ ___. +# Open \______ \ ____ ____ | | _\_ |__ _______ ___ +# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / +# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < +# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ +# \/ \/ \/ \/ \/ +# $Id$ +# +ROOT=../../.. + +OS = w32 +CC = gcc + +ifeq ($(findstring MINGW,$(shell uname)),MINGW) +OS = w32 +CC = mingw32-gcc +RM = rm +endif + +ifeq ($(findstring Linux,$(shell uname)),Linux) +OS = linux +CC = gcc +RM = rm -f +endif + + + +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 |