diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -44,14 +44,8 @@ LIBIVY_DEPLIBS = -livy LIBIVY_GLFW_SHARED = $(LIBIVY_GLFW)$(DSO_EXT) LIBIVY_GLFW_DEPLIBS = -lglfw -livy -lX11 -lXext -lXxf86vm -lGL -lpthread -PERHAPS64= `uname -m | perl -ne "print /64/ ? '64' : '';"` - -ifeq ($(PERHAPS64), '64') - LIB=lib64 -else - LIB=lib -endif - +PERHAPS64 := $(shell uname --machine | perl -ne "print /64/ ? '64' : '';") +LIB:= lib$(PERHAPS64) XTLIB = -L/usr/X11R6/$(LIB)/ #a mettre dans les makefiles generant les executables |