Skip to content
Snippets Groups Projects

create lib directory durin build

Merged Claudio Scafuri requested to merge X86_64-gitlab into master
1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
+ 2
0
@@ -85,6 +85,7 @@ nclib: shared static
shared: libobjects
rm -f $(NCHOME)/lib/libnc.$(SHSUFFIX)
rm -f $(NCHOME)/lib/$(NCLIBSHSYMLINK)
mkdir -p $(NCHOME)/lib
$(LD) $(LDFLAGS) -o $(NCHOME)/lib/$(NCLIBSH) $(LIBOBJS)
ln -sf $(NCHOME)/lib/$(NCLIBSH) $(NCHOME)/lib/$(SHSONAME)
ln -sf $(NCHOME)/lib/$(SHSONAME) $(NCHOME)/lib/$(NCLIBSHSYMLINK)
@@ -93,6 +94,7 @@ shared: libobjects
static: libobjects
rm -f $(NCHOME)/lib/$(NCLIBSTAT)
mkdir -p $(NCHOME)/lib
ar r $(NCHOME)/lib/$(NCLIBSTAT) $(LIBOBJS)
ranlib $(NCHOME)/lib/$(NCLIBSTAT)