Changes in Makefile [3c9fc94:510af01]
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r3c9fc94 r510af01 2 2 CXXFLAGS = -std=gnu++0x -O3 -g 3 3 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 4 CPPFLAGS = 7 5 LDFLAGS = -lpthread -ldl 8 6 … … 18 16 $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -fPIC -shared -o libmemlog.so memlog.cpp 19 17 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 18 install: all memlog2dot README 19 cp -a libmemlog.so memlog_s.o memlog2dot README $(DESTDIR)/ 23 20 24 21 clean:
Note: See TracChangeset
for help on using the changeset viewer.