Commit 2a53b1e6 authored by Sergey Litvinov's avatar Sergey Litvinov
Browse files

link with libtool

parent 1d2091ff
......@@ -3,7 +3,8 @@ LD = $(CXX)
UDX_CXXFLAGS = `u.pkg-config udx_cpu --cflags`
UDX_LDFLAGS = `u.pkg-config udx_cpu --libs`
main: main.o; $(LD) $< $(UDX_LDFLAGS) -o $@
main: main.o; libtool --mode=link $(LD) $< $(UDX_LDFLAGS) -o $@
main.o: main.cpp; $(CXX) $(CXXFLAGS) $(UDX_CXXFLAGS) $^ -c -o $@
install: main; u.install main $(BIN)
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