[Kokkos] Rearrange Makefile variables on liner line.
Fixes #40. The issue was the library flags came before the object files causing lots of undefined references.
This commit is contained in:
parent
5f20c119bc
commit
6803a141ee
@ -36,7 +36,7 @@ endif
|
||||
OBJ = main.o KokkosStream.o
|
||||
|
||||
kokkos-stream: $(OBJ) $(KOKKOS_CPP_DEPENDS)
|
||||
$(CXX) $(KOKKOS_LDFLAGS) $(KOKKOS_LIBS) -DKOKKOS -O3 $(EXTRA_FLAGS) $(OBJ) -o $@
|
||||
$(CXX) $(KOKKOS_LDFLAGS) -DKOKKOS -O3 $(EXTRA_FLAGS) $(OBJ) $(KOKKOS_LIBS) -o $@
|
||||
|
||||
%.o: %.cpp
|
||||
$(CXX) $(KOKKOS_CPPFLAGS) $(KOKKOS_CXXFLAGS) -DKOKKOS -O3 $(EXTRA_FLAGS) -c $<
|
||||
|
||||
Loading…
Reference in New Issue
Block a user