switch from LD to CC for linker

parent fd8183ab
......@@ -5,8 +5,6 @@
# if they are defined
CC ?= $(CC)
CC ?= gcc
LD ?= $(LD)
LD ?= gcc
LD_LIBRARY_PATH ?= /home/izzard/lib:/home/izzard/svn/bin/lib
MAKE ?= /usr/bin/make
INCDIRS ?= -I.
......@@ -27,7 +25,7 @@ endif
librinterpolate: $(OBJECTS)
# make shared library
$(LD) $(CFLAGS) -shared -Wl,-soname,librinterpolate.so,--export-dynamic -fvisibility=hidden -o librinterpolate.so $(LDFLAGS) $(LIBS) $(OBJECTS)
$(CC) $(CFLAGS) -shared -Wl,-soname,librinterpolate.so,--export-dynamic -fvisibility=hidden -o librinterpolate.so $(LDFLAGS) $(LIBS) $(OBJECTS)
# make static library
ar rcs librinterpolate.a $(OBJECTS)
# make test executable
......
Markdown is supported
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