Revision 1bd82e0,
377 bytes
checked in by Hal Finkel <hfinkel@…>, 9 years ago
(diff) |
adjust for c++, use caching of dladdr, fixup for short names when making dot
|
-
Property mode set to
100644
|
Line | |
---|
1 | CXX = /soft/compilers/bgclang/wbin/bgclang++ |
---|
2 | CXXFLAGS = -std=gnu++11 -O3 -g |
---|
3 | |
---|
4 | CPPFLAGS = |
---|
5 | LDFLAGS = -lpthread -ldl |
---|
6 | |
---|
7 | all: libmemlog.so memlog_s.o |
---|
8 | |
---|
9 | memlog_s.o: memlog.cpp |
---|
10 | $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c -o memlog_s.o memlog.cpp |
---|
11 | |
---|
12 | libmemlog.so: memlog.cpp |
---|
13 | $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -fPIC -shared -o libmemlog.so memlog.cpp |
---|
14 | |
---|
15 | clean: |
---|
16 | rm -f memlog_s.o libmemlog.so |
---|
17 | |
---|
Note: See
TracBrowser
for help on using the repository browser.