#CC = gcc #CFLAGS = -DUSE_GTK `sdl-config --cflags` `gtk-config --cflags` -g -mmmx -msse #CFLAGS = -DUSE_GTK `sdl-config --cflags` `gtk-config --cflags` -O3 -mcpu=athlon -ffast-math -funroll-loops -fomit-frame-pointer -msse -mmmx #CXX = g++ CPPFLAGS = $(CFLAGS) #LD = g++ #LDFLAGS = -lGL -lGLU -L/usr/X11R6/lib -lSDL OBJECTS = DaedalusGraphics.o \ DaedalusRenderBase.o \ Config.o \ TextureCache.o \ ConvertImage.o \ ConvertImage16.o \ DLParser.o \ RDP.o \ RDP_S2DEX.o \ GraphicsContext.o \ DaedalusRender.o \ DaedalusRenderExt.o \ ROM.o \ DeviceBuilder.o \ OGLCombiner.o \ blender.o \ Combiner.o \ OGLDecodedMux.o \ DecodedMux.o \ OGLRenderExt.o \ OGLExtRender.o \ OGLRender.o \ StdAfx.o \ daedalus_math.o \ OGLExtCombiner.o \ Texture.o \ OGLGraphicsContext.o \ Profiler.o \ 2xsai.o \ IniFile.o \ OGLCombinerNV.o \ OGLCombinerTNT2.o \ CNvTNTCombiner.o \ GeneralCombiner.o \ SSERenderBase.o \ messagebox.o \ support.o \ daedalus_crc32.o \ OGLTexture.o all: ricedaedalus.so instruction ricedaedalus.so: $(OBJECTS) $(LD) -shared -Wl,-Bsymbolic $(LDFLAGS) -o $@ $(OBJECTS) strip --strip-all $@ instruction: $(warning please copy ricedaedalus.so AND RiceDaedalus5.1.0.ini in the plugins/ folder of the emulator) SSERenderBase.o: SSERenderBase.asm nasm -f elf $< clean: rm -rf $(OBJECTS) $(ALL) rebuild: clean $(ALL)