source: doc/devsamp/Makefile@ 1e66bf

Last change on this file since 1e66bf was 5d30c1, checked in by Frederik Heber <heber@…>, 13 years ago

Initial commit based on 3.0.0alpha (here claimed as 2.4).

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