stable
v1.7.0
| Line | |
|---|
| 1 | # Change this to the path to your installed sc-config script.
|
|---|
| 2 | SCCONFIG = /usr/local/mpqc/current/bin/sc-config
|
|---|
| 3 | CXX := $(shell $(SCCONFIG) --cxx)
|
|---|
| 4 | CXXFLAGS := $(shell $(SCCONFIG) --cxxflags)
|
|---|
| 5 | CPPFLAGS := $(shell $(SCCONFIG) --cppflags)
|
|---|
| 6 | LIBS := $(shell $(SCCONFIG) --libs)
|
|---|
| 7 | LIBDIR := $(shell $(SCCONFIG) --libdir)
|
|---|
| 8 | LTLINK := $(shell $(SCCONFIG) --ltlink)
|
|---|
| 9 | LTLINKBINOPTS := $(shell $(SCCONFIG) --ltlinkbinopts)
|
|---|
| 10 |
|
|---|
| 11 | mp2: mp2.o
|
|---|
| 12 | $(LTLINK) $(CXX) $(CXXFLAGS) -o $@ $^ -L$(LIBDIR) -lmpqc $(LIBS) $(LTLINKBINOPTS)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.