CC = CC -c -I/usr/include/CC
LD = CC

.c.o:
	$(CC) $(CFLAGS) $<

# lookup2 does a linear search -- good for unsorted table
# lookup  does a binary search -- good for a sorted table
OBJ = test.o lookup2.o testcmd.o testhelp.o
#OBJ = test.o lookup.o testcmd.o testhelp.o
TARG = tt

$(TARG): $(OBJ)
	$(LD) -o $(TARG) $(OBJ) $(LDFLAGS)
	@strip $(TARG)

lookup.o lookup2.o : lookup.h
test.o : lookup.h
testhelp.o : lookup.h
