Skip to content

Commit

Permalink
src: update opencl Makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Bevenius <[email protected]>
  • Loading branch information
danbev committed May 12, 2024
1 parent 0887500 commit f928745
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion gpu/opencl/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
main: src/main.c
${CC} $< -o $@ -lOpenCL
${CC} $< -o $@ -lOpenCL

.PHONY: run
run:
env LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu ./main

.PHONY: clean
clean:
${RM} main

0 comments on commit f928745

Please sign in to comment.