X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=Makefile;h=2716f8d9dbc3609574b9e66e434aa11e6b173db7;hp=28b3d7c57ccfd6a9564749ee0ff15ae46170b580;hb=ae602c19f527fbc1f44cdb744cf824d04b8eceb1;hpb=f95a77f74f9608f9c63780fee20fcc5255042ac3 diff --git a/Makefile b/Makefile index 28b3d7c5..2716f8d9 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,7 @@ endif ifndef DEBUG CFLAGS += -O2 endif +#DRC_DBG = 1 TARGET = pcsx all: $(TARGET) @@ -23,9 +24,15 @@ 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 +ifdef DRC_DBG +libpcsxcore/new_dynarec/emu_if.o: CFLAGS += -D_FILE_OFFSET_BITS=64 +CFLAGS += -DDRC_DBG +endif # spu OBJS += plugins/dfsound/adsr.o plugins/dfsound/dma.o plugins/dfsound/oss.o plugins/dfsound/reverb.o \ @@ -51,6 +58,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)