- Timestamp:
- 07/22/15 14:18:06 (9 years ago)
- Branches:
- master
- Children:
- 96927c5
- Parents:
- 09f3093 (diff), 3c9fc94 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - git-author:
- Hal Finkel <hfinkel@…> (07/22/15 14:18:06)
- git-committer:
- Hal Finkel <hfinkel@…> (07/22/15 14:18:06)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r510af01 r3c9fc94 2 2 CXXFLAGS = -std=gnu++0x -O3 -g 3 3 4 CPPFLAGS = 4 # When compiling with CXX=powerpc64-bgq-linux-g++, we need these: 5 CPPFLAGS = -I/bgsys/drivers/ppcfloor -I/bgsys/drivers/ppcfloor/spi/include/kernel/cnk 6 5 7 LDFLAGS = -lpthread -ldl 6 8 … … 16 18 $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -fPIC -shared -o libmemlog.so memlog.cpp 17 19 18 install: all memlog2dot README 19 cp -a libmemlog.so memlog_s.o memlog2dot README $(DESTDIR)/ 20 install: all memlog_analyze README 21 cp -a libmemlog.so memlog_s.o memlog_analyze README $(DESTDIR)/ 22 echo '-Wl,--wrap,malloc,--wrap,valloc,--wrap,realloc,--wrap,calloc,--wrap,memalign,--wrap,free,--wrap,posix_memalign,--wrap,mmap,--wrap,mmap64,--wrap,munmap $(DESTDIR)/memlog_s.o -lpthread -ldl' > $(DESTDIR)/memlog_s_ld_cmds 20 23 21 24 clean:
Note: See TracChangeset
for help on using the changeset viewer.