Commit c16a09f8 authored by Sergey Litvinov's avatar Sergey Litvinov
Browse files

use NCC to compile *.cpp files

parent a9c7b027
for m in `find . -name Makefile`
do d=`dirname $m`
make -C $d
......@@ -3,6 +3,6 @@ UDX_CXXFLAGS = $(shell u.pkg-config udx_cpu --cflags)
UDX_NCCFLAGS = $(shell u.pkg-config udx_cuda --cflags)
UDX_LDFLAGS = $(shell u.pkg-config udx_cpu --libs) $(shell u.pkg-config udx_cuda --libs)
%.o: %.cpp; $(CXX) $(CXXFLAGS) $(UDX_CXXFLAGS) $< -c -o $@
%.o: %.cpp; $(NCC) $(CXXFLAGS) $(UDX_NCCFLAGS) $< -c -o $@
%.o:; $(NCC) $(CXXFLAGS) $(UDX_NCCFLAGS) $< -c -o $@
%: %.o; $(LINK) $^ $(UDX_LDFLAGS) $(LDLIBS) -o $@
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment