--- mujs-1.3.6.old/Makefile +++ mujs-1.3.6/Makefile @@ -4,11 +4,10 @@ default: build/debug/mujs build/debug/mujs-pp -CFLAGS = -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter +CFLAGS = -std=c99 -pedantic -fPIC -Wall -Wextra -Wno-unused-parameter +OPTIM = -O2 -OPTIM = -O3 - -prefix = /usr/local +prefix = __META_PREFIX__ bindir = $(prefix)/bin incdir = $(prefix)/include libdir = $(prefix)/lib