#
# Copyright, 1986, Integrated Solutions, Inc.
#	xspiral - makefile for the X window system spiral program.
#
#	Ported to X from ISI Window System by:
#		    Bruce Sanders, Integrated Solutions
#		    1-Oct-86
#

DESTDIR =
INCLUDES = -I../../include

CONFDIR = /usr/new
XLIB = ../../Xlib/libX.a
CFLAGS = -O $(INCLUDES)

PROG = xspiral

OBJS = $(PROG).o
HDRS = sin.h

all: $(PROG)

install: all
	install -s -m 0755 -c $(PROG) $(DESTDIR)$(CONFDIR)

clean: 
	rm -f $(PROG).o $(PROG) *~ \#*

$(PROG): $(OBJS) ../../Xlib/Xlib.h
	$(CC) $(CFLAGS) -o $(PROG) $(OBJS) $(XLIB)

$(OBJS): $(HDRS)
