Add common.h to dependancy of common.o

This commit is contained in:
Tom Deakin 2015-07-31 14:58:05 +01:00
parent ea34358504
commit 5623e528b4

View File

@ -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)