forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.common
More file actions
30 lines (23 loc) · 823 Bytes
/
Copy pathMakefile.common
File metadata and controls
30 lines (23 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
SOURCES= \
$(MODE_SOURCES)
CUSTOM_DEFINES=\
LINUX \
X11 TARGET_PLATFORM_LINUX TARGET_PLATFORM_POSIX _LINUX \
GTKTHEME \
HAVE___THREAD \
$(MODE_DEFINES)
CUSTOM_INCLUDES=\
./src \
$(MODE_INCLUDES)
CUSTOM_DEPS= libkernel.a libcore.a libpng.a libpcre.a libjpeg.a libopenssl.a libgraphics.a libskia.a $(MODE_DEPS)
CUSTOM_LIBS=$(MODE_LIBS) kernel core z gif png pcre jpeg graphics skia openssl
CUSTOM_STATIC_LIBS=$(MODE_STATIC_LIBS)
CUSTOM_DYNAMIC_LIBS=dl X11 m Xext pthread $(MODE_DYNAMIC_LIBS)
CUSTOM_CCFLAGS=\
-Wall -Wno-unused-variable -Wno-switch -Wno-non-virtual-dtor -Wno-parentheses \
-fno-exceptions -fno-rtti \
-fmessage-length=0 \
$(MODE_CCFLAGS)
CUSTOM_LDFLAGS=-static-libgcc \
$(MODE_LDFLAGS) -Wl,-rpath,\$$ORIGIN
include $(dir $(lastword $(MAKEFILE_LIST)))/../rules/application.linux.makefile