[PATCH] Add btrace to Makefile
authorNathan Scott <nathans@sgi.com>
Wed, 14 Sep 2005 17:30:14 +0000 (19:30 +0200)
committerJens Axboe <axboe@suse.de>
Wed, 14 Sep 2005 17:30:14 +0000 (19:30 +0200)
Makefile

index 3233129816ca7a4ca9ec6d9091d7f95f63da3cf1..56a7b53b5f378270d785ba5d9e4cda8e594001ea 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,21 +1,22 @@
 CC     = gcc
 CFLAGS = -Wall -O2 -g -D_GNU_SOURCE
-PROG   = blkparse blktrace
+PROGS  = blkparse blktrace
 LIBS   = -lpthread
+SCRIPTS        = btrace
 
-all: $(PROG)
+all: $(PROGS) $(SCRIPTS)
 
 blkparse: blkparse.o rbtree.o
 blktrace: blktrace.o $(LIBS)
 
 clean:
-       -rm -f *.o $(PROG)
+       -rm -f *.o $(PROGS)
 
 INSTALL = install
 prefix = /usr/local
 bindir = $(prefix)/bin
 
-install: $(PROG)
+install: $(PROGS) $(SCRIPTS)
        $(INSTALL) -m755 -d $(DESTDIR)$(bindir)
-       $(INSTALL) $(PROG) $(DESTDIR)$(bindir)
+       $(INSTALL) $(PROGS) $(SCRIPTS) $(DESTDIR)$(bindir)