From: Jan-Pascal van Best Date: Mon, 29 Aug 2011 10:50:42 +0000 (+0200) Subject: Added install target to Makefile X-Git-Tag: 0.1 X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=fd398fc2e1bf820a5cf4f5ff3ba87e2b9ce1c54a;p=backupusage.git Added install target to Makefile --- diff --git a/Makefile b/Makefile index 44df599..6fff70d 100644 --- a/Makefile +++ b/Makefile @@ -8,8 +8,8 @@ LIBS=-lboost_program_options -lboost_filesystem -lboost_regex all: backupusage -test: backupusage - ./backupusage --limit=1000000 > result.txt +install: backupusage + install $^ $(DESTDIR)/usr/bin/ backupusage: backupusage.o spacecounter.o g++ $(LIBS) $^ -o $@