#  13 Feb10

# Force make on windows to use a useful shell
SHELL=sh

# Some directories
BIN_DIR=bin

#CC=gcc
CC=/usr1/expsrc/gcc-3.4.4/gcc/xgcc -B/usr1/expsrc/gcc-3.4.4/gcc/ -fbounds-checking -DVALGRIND

CFLAGS=-Wall -DFULL_POSIX -g

E_OBJ = numbers.o \
	options.o \
	readdb.o \
	global.o \
	errors.o \
	fltval.o \
	utils.o \
	levkeydist.o \
	chkfile.o \
	printnum.o \
	matchnum.o \
	hashtab.o \
	hashfunc.o \
	words.o \
	isprop.o

numbers: $(E_OBJ)
	echo "Done"

clean:
	rm *.o

.c.o:
	$(CC) -c $(CFLAGS) $<
#
# MM output header dependencies
#	$(CC) -MM -c $(CFLAGS) -g $<

numbers.o: numbers.c global.h ../config.h printnum.h options.h fltval.h \
  chkfile.h
options.o: options.c global.h ../config.h errors.h utils.h hashtab.h \
  fltval.h readdb.h chkfile.h levkeydist.h matchnum.h printnum.h \
  options.h
readdb.o: readdb.c global.h ../config.h errors.h isprop.h fltval.h \
  printnum.h matchnum.h utils.h readdb.h
global.o: global.c global.h ../config.h
errors.o: errors.c global.h ../config.h
fltval.o: fltval.c global.h ../config.h errors.h utils.h fltval.h
levkeydist.o: levkeydist.c global.h ../config.h printnum.h levkeydist.h
chkfile.o: chkfile.c global.h ../config.h errors.h isprop.h fltval.h \
  ../hash/hashtable.h hashtab.h printnum.h matchnum.h chkfile.h words.h
printnum.o: printnum.c global.h ../config.h fltval.h hashtab.h \
  ../hash/hashtable_itr.h ../hash/hashtable.h ../hash/hashtable_private.h \
  matchnum.h printnum.h
matchnum.o: matchnum.c global.h ../config.h utils.h errors.h isprop.h \
  fltval.h levkeydist.h printnum.h hashtab.h chkfile.h matchnum.h
hashtab.o: hashtab.c global.h ../config.h errors.h utils.h fltval.h \
  hashfunc.h ../hash/hashtable.h ../hash/hashtable_itr.h \
  ../hash/hashtable.h ../hash/hashtable_private.h hashtab.h
isprop.o: isprop.c global.h ../config.h isprop.h
words.o: words.c words.h ../config.h isprop.h

