1# Imakefile for XAtaxx 2 3# you may want to uncomment and fill in the next line if you are not installing 4# in the system default BINDIR 5# BINDIR = 6 7MANSUFFIX = 6 8 9# !%^#* 10DEPLIBS = 11 12/* DATADIR is where the boards and bitmaps will be installed */ 13DATADIR = $(LOCALBASE)/share/xataxx 14 15LOCAL_LIBRARIES = $(XLIB) 16SRCS = bits.c board.c colbits.c demo.c display.c main.c nubot.c parse.c zot.c 17OBJS = bits.o board.o colbits.o demo.o display.o main.o nubot.o parse.o zot.o 18DEFINES = -DDATADIR=\"${DATADIR}\" 19ComplexProgramTarget(xataxx) 20 21install:: install.lib 22 23install.lib: 24 @if [ -d $(DESTDIR)$(DATADIR) ]; then set +x; \ 25 else (set -x; $(MKDIRHIER) $(DESTDIR)$(DATADIR)); fi 26 for i in lib//**/*; do \ 27 (set -x; install -c $$i $(DESTDIR)$(DATADIR)); \ 28 done 29