Changeset 1bd82e0 for Makefile


Ignore:
Timestamp:
05/29/15 07:53:00 (9 years ago)
Author:
Hal Finkel <hfinkel@…>
Branches:
master
Children:
e1b15ec
Parents:
966f5de
git-author:
Hal Finkel <hfinkel@…> (05/29/15 07:53:00)
git-committer:
Hal Finkel <hfinkel@…> (05/29/15 07:53:00)
Message:

adjust for c++, use caching of dladdr, fixup for short names when making dot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r493cb97 r1bd82e0  
    1 CC = /soft/compilers/bgclang/wbin/bgclang 
    2 CFLAGS = -std=gnu99 -O3 -g 
     1CXX = /soft/compilers/bgclang/wbin/bgclang++ 
     2CXXFLAGS = -std=gnu++11 -O3 -g 
    33 
    44CPPFLAGS = 
     
    77all: libmemlog.so memlog_s.o 
    88 
    9 memlog_s.o: memlog.c 
    10         $(CC) $(CPPFLAGS) $(CFLAGS) -c -o memlog_s.o memlog.c 
     9memlog_s.o: memlog.cpp 
     10        $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c -o memlog_s.o memlog.cpp 
    1111 
    12 libmemlog.so: memlog.c 
    13         $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -fPIC -shared -o libmemlog.so memlog.c 
     12libmemlog.so: memlog.cpp 
     13        $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -fPIC -shared -o libmemlog.so memlog.cpp 
    1414 
    1515clean: 
Note: See TracChangeset for help on using the changeset viewer.