Source

ruptime / Makefile

#
# Makefile for building:
#
# ruptimed daemom (for running on all hosts)
# ruptime_agent daemon (for running on the publically accessable gateway)
# ruptime tool (for manually querying daemons)
# The CGI component does not have to be built because it is Perl
#
# (C) Copyright 2003 Daybo Logic, all rights reserved.
# Written by David Duncan Ross Palmer of Daybo Logic.
# Contact: http://www.daybologic.co.uk/mailddrp/
#

ERASE=rm

all : ruptimed ruptime

# Build primary daemon
ruptimed : ruptimed.c ruptime.h
	cc -o ruptimed ruptimed.c

# Build command line checking tool
ruptime : ruptime.c ruptime.h
	cc -o ruptime ruptime.c

clean:
	-$(ERASE) ruptimed ruptimed.core core
	-$(ERASE) ruptime ruptime.core