## NOTE: don't invoke this directly; rather run
## from setools/Makefile!!!

# libapol test

TCL_INCLUDE	= -I/usr/include
TCL_LIBINC	= -L/usr/lib 
TCL_LIBS	= -ltk8.3 -ltcl8.3 -lfl -lm 
LIBAPOL		= ../../lib/libapol.a
OBJS		= test-apol.o  $(LIBAPOL)



test-apol: $(OBJS)
	$(CC) $(TCL_LIBINC) -g -o $@ $(OBJS) $(LINKFLAGS) $(TCL_LIBS)

%.o:  %.c 
	$(CC) $(CFLAGS) -g -c $<

	
$(LIBAPOL): 
	cd ../../ ; $(MAKE) libapol

clean:
	rm -f *.o  core *~ test-apol

bare:
	rm -f *.o  core *~ test-apol


