Changeset 510af01 for Makefile


Ignore:
Timestamp:
05/29/15 15:57:42 (9 years ago)
Author:
Hal Finkel <hfinkel@…>
Branches:
master
Children:
20b45de
Parents:
af4bfd0
git-author:
Hal Finkel <hfinkel@…> (05/29/15 15:57:42)
git-committer:
Hal Finkel <hfinkel@…> (05/29/15 15:57:42)
Message:

add an install target to the makefile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    re1b15ec r510af01  
    44CPPFLAGS = 
    55LDFLAGS = -lpthread -ldl 
     6 
     7# Set this to use the install target 
     8DESTDIR = /dev/null 
    69 
    710all: libmemlog.so memlog_s.o 
     
    1316        $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -fPIC -shared -o libmemlog.so memlog.cpp 
    1417 
     18install: all memlog2dot README 
     19        cp -a libmemlog.so memlog_s.o memlog2dot README $(DESTDIR)/ 
     20 
    1521clean: 
    1622        rm -f memlog_s.o libmemlog.so 
Note: See TracChangeset for help on using the changeset viewer.