.SUFFIXES: .C .cc .c .o

TARGET=dummy
SRC= test1.C swatch.C
OBJS= test1.o 
CXTDIR=/u4/adedev/lib
#CXTOBJS= ${CXTDIR}/CreateC++.o ${CXTDIR}/debug.o swatch.o
CXTOBJS= ${CXTDIR}/CreateC++.o swatch.o

INCS= -I/u4/x11/src

ALLOBJS= ${OBJS} ${CXTOBJS} 

SYSINC=/mit/gnu/lib/g++include 
SYSINC=/u4/CC/include

CFLAGS=-g
DEFINES= ${INCL} -DDEBUG=true -DNDEBUG -DXTFUNCPROTO
INCL=-I. -I/u4/adedev/include -I${SYSINC} -I/u4/x11/src

LIBDIR=-L/u4/lib -L/mit/gnu/decmipslib
LIBDIR=-L/u4/lib 

CP=/mit/gnu/decmipsbin/g++
CP=/u4/CC/bin/CC

CC=${CP}

all: ${ALLOBJS}
	${CP}  ${ALLOBJS} ${WOBJS} ${LIBDIR} -lXaw -lXmu -lXt -lXext -lX11 -lm -o wtest

watch: watch.o swatch.o
	${CP}  watch.o swatch.o ${CXTDIR}/CreateC++.o  ${LIBDIR} -lXaw -lXmu -lXt -lXext -lX11 -lm -o watch

ctest: ctest.o 
	cc  ctest.o ${CXTDIR}/CreateC++.o ${LIBDIR} -o ctest -lXaw -lXmu -lXt -lXext -lX11

exp: ${ALLOBJS}
	cc  ${ALLOBJS} ${WOBJS} ${LIBDIR} -lXaw -lXmu -lXt -lX11 -o wtest

${TARGET}: ${TARGET}.o
	${CP} ${TARGET}.o  ${LIBDIR} -o ${TARGET}
cpp:
	${CP} -E   ${DEFINES} test.C

cc:
	${CP} -Fc -.Dc   ${DEFINES} test.C

.c.o:
	cc -c ${CFLAGS} ${INCS}  $<
.C.o:
	${CP} -c +i   ${DEFINES} $<

depend:
	makedepend -s "# DO NOT DELETE" -- ${DEFINES} -- ${SRC}
# DO NOT DELETE

test.o: test.C /u4/adedev/include/xt++/Intrinsic.h /u4/x11/src/X11/Xlib.h
test.o: /u4/CC/include/sys/types.h /u4/x11/src/X11/X.h
test.o: /u4/x11/src/X11/Xutil.h /u4/x11/src/X11/Xresource.h
test.o: /u4/x11/src/X11/Xos.h /u4/CC/include/strings.h
test.o: /u4/CC/include/string.h /u4/CC/include/memory.h
test.o: /u4/CC/include/sys/file.h /u4/CC/include/sys/time.h
test.o: /u4/CC/include/sys/time.h /u4/adedev/include/xt++/AppContext.h
test.o: /u4/adedev/include/xt++/Core.h /u4/adedev/include/xt++/WindowObj.h
test.o: /u4/adedev/include/xt++/RectObj.h /u4/adedev/include/xt++/Object.h
test.o: /u4/adedev/include/CreateC++.h /u4/adedev/include/xt++/ConstrMacro.h
test.o: /u4/adedev/include/xt++/Composite.h
test.o: /u4/adedev/include/xt++/Constraint.h /u4/adedev/include/xt++/Shell.h
test.o: /u4/adedev/include/xt++/Vendor.h /u4/adedev/include/xt++/Xaw/Label.h
test.o: /u4/adedev/include/xt++/Xaw/Simple.h /u4/x11/src/X11/Xmu/Converters.h
test.o: /u4/adedev/include/xt++/Xaw/Command.h
test.o: /u4/adedev/include/xt++/Xaw/Form.h
test.o: /u4/adedev/include/xt++/Xaw/Dialog.h /u4/x11/src/X11/Xaw/Form.h
test.o: /u4/adedev/include/xt++/Xaw/Clock.h swatch.h
test.o: /u4/x11/src/X11/StringDefs.h /u4/CC/include/libc.h
test.o: /u4/CC/include/pwd.h /u4/CC/include/errno.h
test.o: /u4/adedev/include/debug.h /u4/CC/include/stream.h
test.o: /u4/CC/include/iostream.h /u4/CC/include/iomanip.h
test.o: /u4/CC/include/generic.h /u4/CC/include/stdiostream.h
test.o: /u4/CC/include/stdio.h /u4/CC/include/fstream.h
swatch.o: swatch.C swatch.h /u4/adedev/include/xt++/Intrinsic.h
swatch.o: /u4/x11/src/X11/Xlib.h /u4/CC/include/sys/types.h
swatch.o: /u4/x11/src/X11/X.h /u4/x11/src/X11/Xutil.h
swatch.o: /u4/x11/src/X11/Xresource.h /u4/x11/src/X11/Xos.h
swatch.o: /u4/CC/include/strings.h /u4/CC/include/string.h
swatch.o: /u4/CC/include/memory.h /u4/CC/include/sys/file.h
swatch.o: /u4/CC/include/sys/time.h /u4/CC/include/sys/time.h
swatch.o: /u4/adedev/include/xt++/AppContext.h /u4/adedev/include/xt++/Core.h
swatch.o: /u4/adedev/include/xt++/WindowObj.h
swatch.o: /u4/adedev/include/xt++/RectObj.h /u4/adedev/include/xt++/Object.h
swatch.o: /u4/adedev/include/CreateC++.h
swatch.o: /u4/adedev/include/xt++/ConstrMacro.h
swatch.o: /u4/adedev/include/xt++/Composite.h
swatch.o: /u4/adedev/include/xt++/Constraint.h
swatch.o: /u4/adedev/include/xt++/Xaw/Label.h
swatch.o: /u4/adedev/include/xt++/Xaw/Simple.h
swatch.o: /u4/x11/src/X11/Xmu/Converters.h
