Merge branch 'master' of git://factorcode.org/git/factor
[factor/jcg.git] / vm / Config.unix
bloba25d0df95e404e2544292d1bbd1be08e305f1af5
1 ifndef DEBUG
2         CFLAGS += -fomit-frame-pointer
3 endif
5 EXE_SUFFIX =
6 DLL_PREFIX = lib
7 DLL_EXTENSION = .a
8 # DLL_EXTENSION = .so
10 PLAF_DLL_OBJS = vm/os-unix.o
11 PLAF_EXE_OBJS += vm/main-unix.o
13 ifdef NO_UI
14         X11_UI_LIBS =
15 else
16         X11_UI_LIBS = -lfreetype -lGL -lGLU -lX11
17 endif
19 # CFLAGS += -fPIC
21 # LINKER = gcc -shared -o
22 # LINK_WITH_ENGINE = '-Wl,-rpath,$$ORIGIN' -lfactor
24 LINKER = $(AR) rcs
25 LINK_WITH_ENGINE = -Wl,--whole-archive -lfactor -Wl,-no-whole-archive