# Imakefile for XAtaxx

# you may want to uncomment and fill in the next line if you are not installing
# in the system default BINDIR
# BINDIR =

# !%^#*
DEPLIBS =
DEFINES = -DDATADIR=\"$(DATADIR)\"

# make sure this matches DATADIR in struct.h - this is where the boards
# and bitmaps will be installed
DATADIR	= /vol/X11/share/xataxx

LOCAL_LIBRARIES = $(XLIB) 
SRCS	= bits.c board.c colbits.c demo.c display.c main.c nubot.c parse.c zot.c
OBJS	= bits.o board.o colbits.o demo.o display.o main.o nubot.o parse.o zot.o

ComplexProgramTarget(xataxx)

install:: install.lib

install.lib:
	for i in lib//**/*; do \
		(set -x; install -c -m 664 -g src $$i $(DATADIR)); \
	done
