X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=3d33b8c89bbf1320c4f459a5347d7a3ca4a61166;hb=cddc7ca96ddefe7acabac845b4ec99cf72b3e6fc;hp=585480d1daf6d9f827444396bbeaf51e74a83822;hpb=57467c77b7045642afd8de1679f1149acc9c1ab5;p=pcsx_rearmed.git diff --git a/Makefile b/Makefile index 585480d1..3d33b8c8 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,9 @@ CFLAGS += -Wall -ggdb -Iinclude -ffast-math ifndef DEBUG CFLAGS += -O2 -DNDEBUG endif +CFLAGS += -DHAVE_MMAP=$(if $(NO_MMAP),0,1) \ + -DHAVE_PTHREAD=$(if $(NO_PTHREAD),0,1) \ + -DHAVE_POSIX_MEMALIGN=$(if $(NO_POSIX_MEMALIGN),0,1) CXXFLAGS += $(CFLAGS) #DRC_DBG = 1 #PCNT = 1 @@ -71,7 +74,7 @@ OBJS += libpcsxcore/new_dynarec/pcsxmem.o else CFLAGS += -DDRC_DISABLE endif -OBJS += libpcsxcore/new_dynarec/emu_if.o +OBJS += libpcsxcore/new_dynarec/emu_if.o libpcsxcore/new_dynarec/events.o libpcsxcore/new_dynarec/new_dynarec.o: libpcsxcore/new_dynarec/pcsxmem_inline.c ifdef DRC_DBG libpcsxcore/new_dynarec/emu_if.o: CFLAGS += -D_FILE_OFFSET_BITS=64