summarylogtreecommitdiffstats
path: root/makefile.patch
diff options
context:
space:
mode:
authorMatti Niemenmaa2015-05-10 11:32:02 +0300
committerMatti Niemenmaa2015-07-14 16:04:35 +0300
commitecfa0bee6f153a0194115a149e59c28957ffab16 (patch)
tree86bdc10b008b871bb648b56620a0daae768361a6 /makefile.patch
downloadaur-ecfa0bee6f153a0194115a149e59c28957ffab16.tar.gz
Initial commit: seems okay
Diffstat (limited to 'makefile.patch')
-rw-r--r--makefile.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/makefile.patch b/makefile.patch
new file mode 100644
index 00000000000..2c2fb126863
--- /dev/null
+++ b/makefile.patch
@@ -0,0 +1,23 @@
+diff --git i/Makefile w/Makefile
+--- i/Makefile
++++ w/Makefile
+@@ -7,14 +7,17 @@ OBJS_RECOMPILER_64 = r4300/x86_64/assemble.o r4300/x86_64/gbc.o r4300/x86_64/gco
+
+ OBJS = ai/ai_controller.o api/callbacks.o main/main.o main/rom.o main/savestates.o main/util.o memory/memory.o pi/cart_rom.o pi/pi_controller.o r4300/cached_interp.o r4300/cp0.o r4300/cp1.o r4300/exception.o r4300/interupt.o r4300/mi_controller.o r4300/pure_interp.o r4300/r4300.o r4300/r4300_core.o r4300/recomp.o r4300/reset.o r4300/tlb.o rdp/rdp_core.o ri/rdram.o ri/rdram_detection_hack.o ri/ri_controller.o rsp/rsp_core.o rsp_hle/alist.o rsp_hle/alist_audio.o rsp_hle/alist_naudio.o rsp_hle/alist_nead.o rsp_hle/audio.o rsp_hle/cicx105.o rsp_hle/hle.o rsp_hle/jpeg.o rsp_hle/memory.o rsp_hle/mp3.o rsp_hle/musyx.o rsp_hle/plugin.o rsp_lle/rsp.o si/cic.o si/game_controller.o si/n64_cic_nus_6105.o si/pif.o si/si_controller.o usf/usf.o usf/barray.o usf/resampler.o vi/vi_controller.o $(OBJS_RECOMPILER_64)
+
+-OPTS = -O3 -DDYNAREC -I.
+-ROPTS = -O3 -DARCH_MIN_SSE2 -I.
++OPTS = -c -O3 -DDYNAREC -I.
++ROPTS = -c -O3 -DARCH_MIN_SSE2 -I.
+
+ all: liblazyusf.a bench dumpresampled
+
+ liblazyusf.a : $(OBJS)
+ $(AR) rcs $@ $^
+
++liblazyusf.so : $(OBJS)
++ $(CC) $(CFLAGS) -shared -lm -lz -o $@ $^
++
+ bench : test/bench.o liblazyusf.a
+ $(CC) -o $@ $^ ../psflib/libpsflib.a -lz
+