Skip to content

Commit e584444

Browse files
gimbutasinducer
gimbutas
authored andcommitted
Fixes discovered on Zydrunas's machine.
1 parent 2c8a8ff commit e584444

File tree

5 files changed

+520
-37
lines changed

5 files changed

+520
-37
lines changed

Makefile

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ ifdef OPENCL_LIB
1111
endif
1212

1313
vec-add: vec-add.c cl-helper.o
14-
gcc $(CL_CFLAGS) $(CL_LDFLAGS) -std=gnu99 -lrt -lOpenCL -o$@ $^
14+
gcc $(CL_CFLAGS) $(CL_LDFLAGS) -std=gnu99 -o$@ $^ -lrt -lOpenCL
1515

1616
vec-add-soln: vec-add-soln.c cl-helper.o
17-
gcc $(CL_CFLAGS) $(CL_LDFLAGS) -std=gnu99 -lrt -lOpenCL -o$@ $^
18-
19-
print-devices: print-devices.c cl-helper.o
20-
gcc $(CL_CFLAGS) $(CL_LDFLAGS) -std=gnu99 -lrt -lOpenCL -o$@ $^
21-
22-
transpose: transpose.c cl-helper.o
23-
gcc $(CL_CFLAGS) $(CL_LDFLAGS) -std=gnu99 -lrt -lOpenCL -o$@ $^
24-
25-
transpose-soln: transpose-soln.c cl-helper.o
26-
gcc $(CL_CFLAGS) $(CL_LDFLAGS) -std=gnu99 -lrt -lOpenCL -o$@ $^
17+
gcc $(CL_CFLAGS) $(CL_LDFLAGS) -std=gnu99 -o$@ $^ -lrt -lOpenCL
18+
19+
print-devices: print-devices.c cl-helper.o
20+
gcc $(CL_CFLAGS) $(CL_LDFLAGS) -std=gnu99 -o$@ $^ -lrt -lOpenCL
21+
22+
transpose: transpose.c cl-helper.o
23+
gcc $(CL_CFLAGS) $(CL_LDFLAGS) -std=gnu99 -o$@ $^ -lrt -lOpenCL
24+
25+
transpose-soln: transpose-soln.c cl-helper.o
26+
gcc $(CL_CFLAGS) $(CL_LDFLAGS) -std=gnu99 -o$@ $^ -lrt -lOpenCL
2727

2828
%.o : %.c %.h
2929
gcc -c $(CL_CFLAGS) -std=gnu99 $<

0 commit comments

Comments
 (0)