diff options
Diffstat (limited to 'utils/wpseditor/screenshot/Makefile')
-rw-r--r-- | utils/wpseditor/screenshot/Makefile | 28 |
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 | # |
9 | ROOT=../../.. | 9 | ROOT=../../.. |
10 | 10 | ||
11 | OS = w32 | ||
12 | CC = gcc | ||
13 | |||
14 | ifeq ($(findstring MINGW,$(shell uname)),MINGW) | ||
15 | OS = w32 | ||
16 | CC = mingw32-gcc | ||
17 | RM = rm | ||
18 | endif | ||
19 | |||
20 | ifeq ($(findstring Linux,$(shell uname)),Linux) | ||
21 | OS = linux | ||
22 | CC = gcc | 11 | CC = gcc |
23 | RM = rm -f | 12 | RM = rm -f |
24 | endif | ||
25 | |||
26 | |||
27 | 13 | ||
28 | COMMON= main.c gd_bmp.c | 14 | COMMON = main.c gd_bmp.c |
29 | 15 | ||
30 | INCLUDE=-I ../libwps/src \ | 16 | INCLUDE = -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 | ||
37 | CFLAGS = -g -Wall | 23 | CFLAGS = -g -Wall |
38 | 24 | ||