# makefile for the example of the shhmsg library
# by Oohara Yuuma
# $Id: Makefile,v 1.3 2002/01/20 06:14:58 oohara Exp $

# This program is free software; you can redistribute it and/or modify
# it under the terms of the Artistic License.  On a Debian system,
# you can find its copy at /usr/share/common-licenses/Artistic.
# THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE

all: hello

hello: hello.o
	gcc -Wall -o hello hello.o -lshhmsg

hello.o: hello.c
	gcc -Wall -c -o hello.o hello.c

.PHONY: clean

clean:
	-rm -f hello hello.o
