diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -4,7 +4,7 @@ COMMON_OBJECTS = cl_simple.o cl_util.o LDFLAGS = -L/usr/local/lib -lOpenCL -all: hello_world math-int get-global-id get-global-id-2d loop +all: hello_world math-int get-global-id get-global-id-2d loop get-global-id-3d mat-mul hello_world: hello_world.o $(COMMON_OBJECTS) gcc -o $@ $^ $(LDFLAGS) @@ -20,3 +20,9 @@ get-global-id-2d: get_global_id_2d.o $(COMMON_OBJECTS) loop: loop.o $(COMMON_OBJECTS) gcc -o $@ $^ $(LDFLAGS) + +get-global-id-3d: get_global_id_3d.o $(COMMON_OBJECTS) + gcc -o $@ $^ $(LDFLAGS) + +mat-mul: mat_mul.o $(COMMON_OBJECTS) + gcc -o $@ $^ $(LDFLAGS) |