Skip to content
Snippets Groups Projects
Commit 7b796792 authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Implement static library compilation flag

parent a7c16adc
No related branches found
No related tags found
No related merge requests found
...@@ -8,10 +8,12 @@ ifndef BUILDDIR_NPTM ...@@ -8,10 +8,12 @@ ifndef BUILDDIR_NPTM
override BUILDDIR_NPTM=$(BUILDDIR)/libnptm override BUILDDIR_NPTM=$(BUILDDIR)/libnptm
endif endif
ifndef LIBNPTM ifndef LIBNPTM
# choose one of the two following lines, depending on whether a static or dynamic libnptm is wanted ifdef STATIC_NPTM
#override LIBNPTM=$(BUILDDIR_NPTM)/libnptm.a override LIBNPTM=$(BUILDDIR_NPTM)/libnptm.a
else
override LIBNPTM=$(BUILDDIR_NPTM)/libnptm.so override LIBNPTM=$(BUILDDIR_NPTM)/libnptm.so
endif endif
endif
DOCSDIR=$(SRCDIR)/../doc DOCSDIR=$(SRCDIR)/../doc
all: $(BUILDDIR) $(SUBDIRS) all: $(BUILDDIR) $(SUBDIRS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment