Allow threaded rendering for peops and enable on unix
[pcsx_rearmed.git] / Makefile
index 1496f4e..993b05e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -193,6 +193,10 @@ endif
 plugins/gpu_unai/gpulib_if.o: CFLAGS += -DREARMED -O3 
 CC_LINK = $(CXX)
 endif
+ifeq "$(THREAD_RENDERING)" "1"
+CFLAGS += -DTHREAD_RENDERING
+OBJS += plugins/gpulib/gpulib_thread_if.o
+endif
 
 # cdrcimg
 OBJS += plugins/cdrcimg/cdrcimg.o