summaryrefslogtreecommitdiffstats
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 @@
+# __________ __ ___.
+# 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