X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=66675ffcd0cb65f561e7e18bb7bf4133c3e02c39;hb=b9db55a9831ccbe3749abfc97ff49e5fb9379b29;hp=0860c722f679f15cd7b32eb11f46c2a624fff6eb;hpb=2f609094ad9ec14212fb730897ccb63f2f44bc40;p=pcsx_rearmed.git diff --git a/Makefile b/Makefile index 0860c722..66675ffc 100644 --- a/Makefile +++ b/Makefile @@ -47,9 +47,6 @@ ifdef PCNT CFLAGS += -DPCNT endif -LIGHTREC_CUSTOM_MAP ?= 0 -CFLAGS += -DLIGHTREC_CUSTOM_MAP=$(LIGHTREC_CUSTOM_MAP) - # core OBJS += libpcsxcore/cdriso.o libpcsxcore/cdrom.o libpcsxcore/cheat.o libpcsxcore/database.o \ libpcsxcore/decode_xa.o libpcsxcore/mdec.o \ @@ -93,11 +90,14 @@ libpcsxcore/psxbios.o: CFLAGS += -Wno-nonnull ifeq "$(DYNAREC)" "lightrec" CFLAGS += -Ideps/lightning/include -Ideps/lightrec -Iinclude/lightning -Iinclude/lightrec \ -DLIGHTREC -DLIGHTREC_STATIC +LIGHTREC_CUSTOM_MAP ?= 0 +CFLAGS += -DLIGHTREC_CUSTOM_MAP=$(LIGHTREC_CUSTOM_MAP) deps/lightning/lib/%.o: CFLAGS += -DHAVE_MMAP ifeq ($(LIGHTREC_CUSTOM_MAP),1) LDLIBS += -lrt OBJS += libpcsxcore/lightrec/mem.o endif +OBJS += deps/lightrec/tlsf/tlsf.o OBJS += libpcsxcore/lightrec/plugin.o OBJS += deps/lightning/lib/jit_disasm.o \ deps/lightning/lib/jit_memory.o \