       srcdir = @srcdir@
	    VPATH = @srcdir@
	   CFLAGS = -I$(srcdir)/.. -I.. -I../lib -I$(srcdir)/../../V/lib @CFLAGS@
           CC = @CC@
         SRCS = disscope.c simxtest.c tglobe.c
   PTEST_OBJS = disscope.o
SIMXTEST_OBJS = simxtest.o
  TGLOBE_OBJS = tglobe.o
DECOY_OBJS = decoy.o
         LIBS = -L../lib -ldis -L../../V/lib -lV @LIBS@

all:	disscope simxtest tglobe decoy

disscope: $(PTEST_OBJS) ../lib/libdis.a
	$(CC) $(CFLAGS) -o $@ $(PTEST_OBJS) $(LIBS)

simxtest: $(SIMXTEST_OBJS) ../lib/libdis.a
	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(SIMXTEST_OBJS) $(LIBS)

tglobe:	$(TGLOBE_OBJS) ../lib/libdis.a
	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(TGLOBE_OBJS) $(LIBS)

decoy:	$(DECOY_OBJS) ../lib/libdis.a ../../V/lib/libV.a
	$(CC)  $(CFLAGS) $(LDFLAGS) -o $@ $(DECOY_OBJS) $(LIBS)

depend: $(SRCS)
	makedepend $(CFLAGS) $(SRCS)

clean:
	rm -rf *.bak *.o disscope simxtest core *~

distclean: clean
	rm -f Makefile

test check:
	@echo "All DIS/X tests are intended to be run manually"

TAGS tags:

# DO NOT DELETE THIS LINE -- make depend depends on it.
