diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2009-12-24 13:08:11 +0100 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2009-12-24 13:08:11 +0100 |
commit | 96e31038c645a5e85b82ff869bd650682b430281 (patch) | |
tree | b8d93d48600e286619c6c4be86b57ca9d5ad3eca /Makefile | |
parent | 3faad78cc9875da5ca5fcb3477b7a776e9ae54a6 (diff) |
Motif isn't very common under Darwin - let's change this dependancy.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -11,6 +11,7 @@ LD = g++ AS = as AR = ar rcs USR=/usr +LIBXM = -lXm ifeq ($(SYSTEM),Darwin) ARCH_FLAGS=-arch i386 SHARED_FLAGS=-dynamiclib @@ -32,7 +33,9 @@ LDFLAGS_MESA = -all_load ../Mesa-7.4.4-darwin9/lib/libGLU.a ../Mesa-7.4.4-darwin LUAJIT = ../LuaJIT-darwin9/src/libluajit.a USR=/usr/i686-apple-darwin9 FINK=$(USR) +LIBXM = $(FINK) endif +LIBXM = $(FINK)/sw/lib/libXm.a else ARCH_FLAGS=-march=i686 -m32 SHARED_FLAGS=-shared @@ -365,7 +368,7 @@ iuplua_im.c \ MAIN_IUP_SOURCE = \ plugin-luaiup.cc \ -IUP_LIBS = -lXm -lXpm -lXmu -lXt -lXext -lX11 -lm +IUP_LIBS = $(LIBXM) -lXpm -lXmu -lXt -lXext -lX11 -lm WHOLE_SOURCES = \ $(IM_SOURCES) \ |