Add common.h to dependancy of common.o
This commit is contained in:
parent
ea34358504
commit
5623e528b4
2
Makefile
2
Makefile
@ -11,7 +11,7 @@ all: gpu-stream-ocl gpu-stream-cuda
|
||||
gpu-stream-ocl: ocl-stream.cpp common.o Makefile
|
||||
$(CXX) $(CXXFLAGS) -Wno-deprecated-declarations common.o $< -o $@ $(LDLIBS)
|
||||
|
||||
common.o: common.cpp Makefile
|
||||
common.o: common.cpp common.h Makefile
|
||||
|
||||
gpu-stream-cuda: cuda-stream.cu common.o Makefile
|
||||
ifeq ($(shell which nvcc > /dev/null; echo $$?), 0)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user