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/Makefile28
1 files changed, 7 insertions, 21 deletions
diff --git a/utils/wpseditor/screenshot/Makefile b/utils/wpseditor/screenshot/Makefile
index 18a6de35a5..f9309f58a5 100644
--- a/utils/wpseditor/screenshot/Makefile
+++ b/utils/wpseditor/screenshot/Makefile
@@ -8,31 +8,17 @@
8# 8#
9ROOT=../../.. 9ROOT=../../..
10 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 11CC = gcc
23RM = rm -f 12RM = rm -f
24endif
25
26
27 13
28COMMON= main.c gd_bmp.c 14COMMON = main.c gd_bmp.c
29 15
30INCLUDE=-I ../libwps/src \ 16INCLUDE = -I ../libwps/src \
31 -I $(ROOT)/apps/gui \ 17 -I $(ROOT)/apps/gui \
32 -I $(ROOT)/firmware/export \ 18 -I $(ROOT)/firmware/export \
33 -I $(ROOT)/apps/recorder \ 19 -I $(ROOT)/apps/recorder \
34 -I $(ROOT)/apps \ 20 -I $(ROOT)/apps \
35 -I . 21 -I .
36 22
37CFLAGS = -g -Wall 23CFLAGS = -g -Wall
38 24