source:
Makefile
@
e1b15ec
Revision e1b15ec, 377 bytes checked in by Hal Finkel <hfinkel@…>, 10 years ago (diff) | |
---|---|
|
Rev | Line | |
---|---|---|
[1bd82e0] | 1 | CXX = /soft/compilers/bgclang/wbin/bgclang++ |
[e1b15ec] | 2 | CXXFLAGS = -std=gnu++0x -O3 -g |
[0ec59c5] | 3 | |
[14e2ab9] | 4 | CPPFLAGS = |
5 | LDFLAGS = -lpthread -ldl | |
[0ec59c5] | 6 | |
[493cb97] | 7 | all: libmemlog.so memlog_s.o |
[0ec59c5] | 8 | |
[1bd82e0] | 9 | memlog_s.o: memlog.cpp |
10 | $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c -o memlog_s.o memlog.cpp | |
[0ec59c5] | 11 | |
[1bd82e0] | 12 | libmemlog.so: memlog.cpp |
13 | $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -fPIC -shared -o libmemlog.so memlog.cpp | |
[0ec59c5] | 14 | |
15 | clean: | |
[493cb97] | 16 | rm -f memlog_s.o libmemlog.so |
[0ec59c5] | 17 |
Note: See TracBrowser
for help on using the repository browser.