X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=88972b6e8286119e0de1234bcccb04cabdee1ab4;hb=0d464c772e9a22e02818c309b79f8cc724ebb891;hp=28b3d7c57ccfd6a9564749ee0ff15ae46170b580;hpb=f95a77f74f9608f9c63780fee20fcc5255042ac3;p=pcsx_rearmed.git diff --git a/Makefile b/Makefile index 28b3d7c5..88972b6e 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 @@ -51,6 +56,9 @@ OBJS += frontend/linux/fbdev.o $(TARGET): $(OBJS) $(CC) -o $@ $^ $(LDFLAGS) -Wl,-Map=$@.map +spunull.so: plugins/spunull/spunull.c + $(CC) $(CFLAGS) -shared -fPIC -o $@ $^ + clean: $(RM) $(TARGET) $(OBJS)