#
# @(#)Imakefile 1.5 90/06/21 SMI
#
# Imakefile for color
#
# LIBRARY_DEST is the location of the XView libraries
# HEADER_DEST is the location of the XView header files
# LIBDIR is the directory containing the X11 library (libX11.a)
#

LIBRARY_DEST=/home/xview/usr/lib
HEADER_DEST=/home/xview/usr/include

LIBDIR=/home/X11/lib
LDFLAGS=-L$(LIBRARY_DEST) -L$(LIBDIR) -lxview -lX11
INCLUDES= -I.. -I$(HEADER_DEST) -I$(TOP) -DSTANDALONE

# Uncomment the following line to use libxvol.a and libxvin.a
#
#LDFLAGS=-L$(LIBRARY_DEST) -L$(LIBDIR) -lxvol -lxvin -lX11

TARGETS=color color_animate color_logo color_objs x_draw
ICON= cardback.icon

all: $(ICON) $(TARGETS)

${TARGETS}: $$@.c $$@.o 
	${CC} ${CFLAGS} ${LDFLAGS} -o $@ $@.o
