diff options
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 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 | # | ||
9 | ROOT=../../.. | ||
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 | ||
23 | RM = rm -f | ||
24 | endif | ||
25 | |||
26 | |||
27 | |||
28 | COMMON= main.c gd_bmp.c | ||
29 | |||
30 | INCLUDE=-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 | |||
37 | CFLAGS = -g -Wall | ||
38 | |||
39 | all: | ||
40 | $(CC) $(INCLUDE) $(CFLAGS) $(COMMON) -rdynamic -ldl -lgd -lpng -o screenshot | ||
41 | |||
42 | clean: | ||
43 | $(RM) screenshot | ||