X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=Makefile;h=37d131180b4e438269e67a6880138d6d7a04b40f;hp=28b3d7c57ccfd6a9564749ee0ff15ae46170b580;hb=b9b61529b6c9bf30a3146178e2dda31b15ff3614;hpb=f95a77f74f9608f9c63780fee20fcc5255042ac3 diff --git a/Makefile b/Makefile index 28b3d7c5..37d13118 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,9 @@ endif ifndef DEBUG CFLAGS += -O2 endif +ifdef DRC_DBG +CFLAGS += -DDRC_DBG +endif TARGET = pcsx all: $(TARGET) @@ -23,8 +26,10 @@ OBJS += libpcsxcore/cdriso.o libpcsxcore/cdrom.o libpcsxcore/cheat.o libpcsxcore libpcsxcore/psxhw.o libpcsxcore/psxinterpreter.o libpcsxcore/psxmem.o libpcsxcore/r3000a.o \ libpcsxcore/sio.o libpcsxcore/socket.o libpcsxcore/spu.o # dynarec -OBJS += libpcsxcore/new_dynarec/new_dynarec.o libpcsxcore/new_dynarec/linkage_arm.o \ - libpcsxcore/new_dynarec/emu_if.o +ifndef NO_NEW_DRC +OBJS += libpcsxcore/new_dynarec/new_dynarec.o libpcsxcore/new_dynarec/linkage_arm.o +endif +OBJS += libpcsxcore/new_dynarec/emu_if.o libpcsxcore/new_dynarec/new_dynarec.o: libpcsxcore/new_dynarec/assem_arm.c # spu