From: compudj Date: Fri, 16 Sep 2005 16:32:01 +0000 (+0000) Subject: makefile install X-Git-Tag: v0.12.20~2279 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=4bf1ad22e2a1f9f02481f0d3aa99e32fbaca5473;p=lttv.git makefile install git-svn-id: http://ltt.polymtl.ca/svn@1210 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/genevent/Makefile b/genevent/Makefile index 7a0d8dcb..f52a19a8 100644 --- a/genevent/Makefile +++ b/genevent/Makefile @@ -6,6 +6,9 @@ CFLAGS = -g -o all: genevent +install: genevent + cp genevent /usr/local/bin + genevent:genevent.o parser.o $(CC) $(CFLAGS) $@ genevent.o parser.o @@ -15,6 +18,8 @@ genevent.o: genevent.c genevent.h parser.h parser.o: parser.c parser.h $(CC) -g -c parser.c +.PHONY: clean + clean: rm -rf *.o *~ *#