CC=@CC@

WFLAGS=	-Wall			\
	-pedantic		\
	-Wpointer-arith		\
	-fstrict-prototype	\
	-Wstrict-prototypes	\
	-Wmissing-declarations	\
	-Wnested-externs	\
	-Wshadow		\
	-Wmissing-prototypes

CFLAGS=				\
	    @CFLAGS@ 		\
	    -I../appUtil	\
	    -I../include

#CFLAGS	= -pipe $(WFLAGS) -g -O2 -I../include -I../appUtil

# 15 lines
OBS	=	\
		indword.o\
		indutil.o\
		indscan.o\
		indrenum.o\
		indnode.o\
		indmini.o\
		indlist.o\
		indlink.o\
		inditem.o\
		indind.o\
		indguess.o\
		indfront.o\
		inddeb.o

LIB=	../lib/ind.a
INC=	../include/ind.h

$(LIB):	$(OBS)
	ar r $@ $(OBS) && @RANLIB@ $@

# deps -I../appUtil -I../include
######################################## !! sh

inddeb.o: \
    inddeb.c \
    config.h \
    indlocal.h \
    ../include/ind.h \
    ../appUtil/utilEndian.h

indfront.o: \
    indfront.c \
    config.h \
    ../include/ind.h \
    indlocal.h \
    ../appUtil/utilEndian.h \
    ../include/debugon.h \
    ../include/debug.h

indguess.o: \
    indguess.c \
    config.h \
    indlocal.h \
    ../include/ind.h \
    ../appUtil/utilEndian.h \
    ../include/charnames.h \
    ../include/debugoff.h \
    ../include/debug.h

indind.o: \
    indind.c \
    config.h \
    indlocal.h \
    ../include/ind.h \
    ../appUtil/utilEndian.h \
    ../include/debugon.h \
    ../include/debug.h

inditem.o: \
    inditem.c \
    config.h \
    indlocal.h \
    ../include/ind.h \
    ../appUtil/utilEndian.h \
    ../include/debugoff.h \
    ../include/debug.h

indlink.o: \
    indlink.c \
    config.h \
    indlocal.h \
    ../include/ind.h \
    ../appUtil/utilEndian.h

indlist.o: \
    indlist.c \
    config.h \
    ../include/ind.h \
    ../include/debugoff.h \
    ../include/debug.h

indmini.o: \
    indmini.c \
    config.h \
    indlocal.h \
    ../include/ind.h \
    ../appUtil/utilEndian.h

indnode.o: \
    indnode.c \
    config.h \
    indlocal.h \
    ../include/ind.h \
    ../appUtil/utilEndian.h \
    ../include/debugoff.h \
    ../include/debug.h

indrenum.o: \
    indrenum.c \
    config.h \
    indlocal.h \
    ../include/ind.h \
    ../appUtil/utilEndian.h \
    ../include/debugoff.h \
    ../include/debug.h

indscan.o: \
    indscan.c \
    config.h \
    indlocal.h \
    ../include/ind.h \
    ../appUtil/utilEndian.h \
    ../include/debugon.h \
    ../include/debug.h

indutil.o: \
    indutil.c \
    config.h \
    ../include/ind.h \
    ../include/debugon.h \
    ../include/debug.h

indword.o: \
    indword.c \
    config.h \
    ../include/ind.h \
    indlocal.h \
    ../appUtil/utilEndian.h \
    ../include/charnames.h \
    ../include/debugon.h \
    ../include/debug.h

