###############################################################
#
# Makefile for solaris 2.5
#
# This makefile uses the shared library (libamzi.so).
# If you want to use the static library, add '-misalign'
# to CFLAGS and LFLAGS, and change AMZILIB to refer to
# libamzi.a
#
# $Log$
#
###############################################################

.SUFFIXES:	.cpp .plm .xpl
CC=CC
DEBUG = -g
CFLAGS= $(DEBUG)
LFLAGS= $(DEBUG)
AMZILIB=../../../lib/libamzi.so
ALNK=a4lnk
ACMP=a4cmp

.cc.o:
	$(CC) $(CFLAGS) -c $<

all:	hello.xpl hello

hello.plm:	hello.pro
	$(ACMP) hello

hello.xpl:	hello.plm
	$(ALNK) hello hello


hello:	hello.o
	$(CC) -o hello hello.o $(AMZILIB)

clean:
	-rm hello *.plm *.xpl *.o *~

depend:
	makedepend -f Makefile *.cc

hello.o:	hello.cc

# DO NOT DELETE THIS LINE -- make depend depends on it.

