mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-01 09:05:03 +00:00
685bae34e5
If compilation fails, rebuild the whole solution as Visual Studio struggles with the not so complex project dependencies. ATI users still need to install the Stream SDK as it's the only way to have an OpenCL driver. NVidia users just have to install a recent driver (version 197 is tested and working). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5808 8ced0084-cf51-0410-be5f-012b33b47a6e
17 lines
444 B
Makefile
17 lines
444 B
Makefile
all: compile
|
|
|
|
compile: genclrun gencl.c genclgl.c
|
|
gcc -Wall -c gencl.c -o gencl.o
|
|
gcc -Wall -c genclgl.c -o genclgl.o
|
|
gcc -Wall -c clrun.c -o clrun.o -I../include
|
|
gcc -Wall --shared dynamiclib.c clrun.o gencl.o genclgl.o -o libclrun.so -ldl
|
|
strip libclrun.so
|
|
|
|
genclrun: ../include/CL/cl.h ../include/CL/cl_gl.h
|
|
./generateClRun.pl ../include/CL/cl.h > gencl.c
|
|
./generateClRun.pl ../include/CL/cl_gl.h > genclgl.c
|
|
|
|
|
|
clean:
|
|
rm -rf *~ *.o
|