summaryrefslogtreecommitdiff
path: root/utils/wpseditor/screenshot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/wpseditor/screenshot/Makefile')
-rw-r--r--utils/wpseditor/screenshot/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/utils/wpseditor/screenshot/Makefile b/utils/wpseditor/screenshot/Makefile
new file mode 100644
index 0000000000..18a6de35a5
--- /dev/null
+++ b/utils/wpseditor/screenshot/Makefile
@@ -0,0 +1,43 @@
1# __________ __ ___.
2# Open \______ \ ____ ____ | | _\_ |__ _______ ___
3# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
6# \/ \/ \/ \/ \/
7# $Id$
8#
9ROOT=../../..
10
11OS = w32
12CC = gcc
13
14ifeq ($(findstring MINGW,$(shell uname)),MINGW)
15OS = w32
16CC = mingw32-gcc
17RM = rm
18endif
19
20ifeq ($(findstring Linux,$(shell uname)),Linux)
21OS = linux
22CC = gcc
23RM = rm -f
24endif
25
26
27
28COMMON= main.c gd_bmp.c
29
30INCLUDE=-I ../libwps/src \
31 -I $(ROOT)/apps/gui \
32 -I $(ROOT)/firmware/export \
33 -I $(ROOT)/apps/recorder \
34 -I $(ROOT)/apps \
35 -I .
36
37CFLAGS = -g -Wall
38
39all:
40 $(CC) $(INCLUDE) $(CFLAGS) $(COMMON) -rdynamic -ldl -lgd -lpng -o screenshot
41
42clean:
43 $(RM) screenshot