X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=3e3075b64798440122e2ffcdb9d24543107ab8e5;hb=a7ab53cbaf3037b67fbda98fed3887c905d93e96;hp=dfe3e778fad69ef67de45049cc059ceee8d536df;hpb=e35960f004a9666f7f36582ef70307ceeb880d7a;p=mom.git diff --git a/Makefile b/Makefile index dfe3e77..3e3075b 100644 --- a/Makefile +++ b/Makefile @@ -1,23 +1,18 @@ -# @COPYRIGHT@ # -# $Id: Makefile,v 1.1.1.1 2004/10/29 18:03:29 acb Exp $ - -BASE=pl_mom -VERSION=0.2 -TARFILE=$(BASE)-$(VERSION).tgz - -all: pl_mom.pl pl_mom +# pl_mom suite of node monitors +# +# Mark Huang +# Copyright (C) 2006 The Trustees of Princeton University +# -install: - install -D -m 755 pl_mom.pl /usr/local/planetlab/bin/pl_mom.pl - install -D -m 755 pl_mom /etc/init.d/pl_mom +ALL := leak -tarball: - rm -f $(TARFILE) - tar cvfz $(TARFILE) -C .. --exclude=CVS $(BASE)-$(VERSION) +CC := gcc +CFLAGS := -Wall -O2 -rpm:: tarball - sudo cp $(TARFILE) /usr/src/redhat/SOURCES - sudo rpmbuild -ba $(BASE).spec +all: $(ALL) +clean: + rm -f $(ALL) +.PHONY: all clean