+MAINRPATH_x86_64 = -Wl,-rpath,'$$ORIGIN/../contrib/lib'
+MAINRPATH_i386 = -Wl,-rpath,'$$ORIGIN/../contrib/lib32'
+TESTRPATH_x86_64 = -Wl,-rpath,'$$ORIGIN/../../contrib/lib'
+TESTRPATH_i386 = -Wl,-rpath,'$$ORIGIN/../../contrib/lib32'
+OBJPATHS = $(OBJ:%=../obj/%)
+DEPS := $(OBJPATHS:%.o=%.d)
+CFLAGS_x86_64 := -I../contrib/include/SDL2 -I`pwd`
+CFLAGS_i386 := -I../contrib/include32/SDL2 -I`pwd`
+
+
+LIB := $(LIB_$(ARCH))
+MAINRPATH := $(MAINRPATH_$(ARCH))
+TESTRPATH := $(TESTRPATH_$(ARCH))
+CFLAGS := $(CFLAGS_$(ARCH))
+
+DEF = -DREAL=1
+
+LINKOBJ = $(OBJPATHS)