OBJS = paintbutton.o main.o SRCS = ../paintbutton.c ../main.c IVDIR = /mnt/thyme/pkg/InterViews/iv-2.6 #IVLIBDIR = $(IVDIR)/installed/lib/SUN4G IVLIBDIR = $(IVDIR)/src/new/libInterViews/SUN4G-solaris IVGLIBDIR = $(IVDIR)/src/new/libgraphic/SUN4G-solaris GNUDIR = IVLIBS = $(IVLIBDIR)/libInterViewsX11.a $(IVGLIBDIR)/libgraphic.a IVLIBSg = $(IVLIBDIR)/libInterViewsX11-g.a \ $(IVGLIBDIR)/libgraphic-g.a IVSRCDIR = $(IVDIR)/src/new IVSTDLIBDIR = $(IVSRCDIR)/InterViews/Std XLIB = -lX11 OTHERLIBS = -lm CFLAGS = -g -I$(IVSRCDIR) -I$(IVSTDLIBDIR) -Dgcc_2_6_3 -Dsolaris \ -L/usr/openwin/lib CC = g++ LIBS = $(IVLIBS) $(XLIB) $(OTHERLIBS) LIBSg = $(IVLIBSg) $(XLIB) $(OTHERLIBS) DEPENDDIRS = -I$(IVSRCDIR) paintbutton: $(OBJS) $(CC) $(CFLAGS) $(OBJS) $(LIBSg) -o paintbutton paintbutton.o: ../paintbutton.c $(CC) -c $(CFLAGS) ../paintbutton.c main.o: ../main.c $(CC) -c $(CFLAGS) ../main.c depend: $(SRCS) makedepend $(DEPENDDIRS) $(SRCS) # DO NOT DELETE THIS LINE -- make depend depends on it. paintbutton.o: ../paintbutton.h paintbutton.o: /mnt/thyme/pkg/InterViews/iv-2.6/src/new/InterViews/button.h paintbutton.o: /mnt/thyme/pkg/InterViews/iv-2.6/src/new/InterViews/interactor.h paintbutton.o: /mnt/thyme/pkg/InterViews/iv-2.6/src/new/InterViews/defs.h paintbutton.o: /mnt/thyme/pkg/InterViews/iv-2.6/src/new/InterViews/subject.h paintbutton.o: /mnt/thyme/pkg/InterViews/iv-2.6/src/new/InterViews/resource.h paintbutton.o: /mnt/thyme/pkg/InterViews/iv-2.6/src/new/InterViews/bitmap.h paintbutton.o: /mnt/thyme/pkg/InterViews/iv-2.6/src/new/InterViews/painter.h paintbutton.o: /mnt/thyme/pkg/InterViews/iv-2.6/src/new/InterViews/shape.h main.o: ../paintbutton.h main.o: /mnt/thyme/pkg/InterViews/iv-2.6/src/new/InterViews/button.h main.o: /mnt/thyme/pkg/InterViews/iv-2.6/src/new/InterViews/interactor.h main.o: /mnt/thyme/pkg/InterViews/iv-2.6/src/new/InterViews/defs.h main.o: /mnt/thyme/pkg/InterViews/iv-2.6/src/new/InterViews/subject.h main.o: /mnt/thyme/pkg/InterViews/iv-2.6/src/new/InterViews/resource.h main.o: /usr/include/stdio.h /usr/include/sys/feature_tests.h main.o: /mnt/thyme/pkg/InterViews/iv-2.6/src/new/InterViews/tray.h main.o: /mnt/thyme/pkg/InterViews/iv-2.6/src/new/InterViews/scene.h main.o: /mnt/thyme/pkg/InterViews/iv-2.6/src/new/InterViews/shape.h main.o: /mnt/thyme/pkg/InterViews/iv-2.6/src/new/InterViews/world.h