# @(#) Makefile 1.19 93/04/06 SSPKGHOME = .. OPENWINHOME = /usr/openwin LIBDIR = $(OPENWINHOME)/lib -L/usr/X386/lib LIBS = -lsspkg -lxview -lolgx -lX11 #SSPKGLIB = $(SSPKGHOME)/lib/libsspkg.a SSINSTALLDIR = $(OPENWINHOME)/share/src/sspkg/examples/bin DBXFLAGS = -O CFLAGS = $(DBXFLAGS) -I$(SSPKGHOME)/include -I$(OPENWINHOME)/include LDFLAGS = -L$(LIBDIR) $(LIBS) $(SSPKGLIB) -lm all: icons array_tile clockobj dnd drawarea drawline grip \ icons misc selection tree \ drawtext drawimage tacho \ color thermo \ drawtext drawimage tacho # dnd2 array_tile: FORCE cd $@; make LIBDIR="$(LIBDIR)" clockobj: FORCE cd $@; make LIBDIR="$(LIBDIR)" dnd: FORCE cd $@; make LIBDIR="$(LIBDIR)" dnd2: FORCE cd $@; make LIBDIR="$(LIBDIR)" drawarea: FORCE cd $@; make LIBDIR="$(LIBDIR)" drawline: FORCE cd $@; make LIBDIR="$(LIBDIR)" grip: FORCE cd $@; make LIBDIR="$(LIBDIR)" icons: FORCE cd $@; make LIBDIR="$(LIBDIR)" misc: FORCE cd $@; make LIBDIR="$(LIBDIR)" selection: FORCE cd $@; make LIBDIR="$(LIBDIR)" tree: FORCE cd $@; make LIBDIR="$(LIBDIR)" drawtext: FORCE cd $@; make LIBDIR="$(LIBDIR)" drawimage: FORCE cd $@; make LIBDIR="$(LIBDIR)" tacho: FORCE cd $@; make LIBDIR="$(LIBDIR)" color: FORCE cd $@; make LIBDIR="$(LIBDIR)" thermo: FORCE cd $@; make LIBDIR="$(LIBDIR)" clean: -(cd array_tile; make clean) -(cd clockobj; make clean) -(cd dnd; make clean) -(cd drawarea; make clean) -(cd drawline; make clean) -(cd grip; make clean) -(cd icons; make clean) -(cd misc; make clean) -(cd selection; make clean) -(cd tree; make clean) -(cd drawtext; make clean) -(cd drawimage; make clean) -(cd tacho; make clean) -(cd color; make clean) -(cd thermo; make clean) FORCE: install: -(cd array_tile; make SSINSTALLDIR=$(SSINSTALLDIR) install) -(cd clockobj; make SSINSTALLDIR=$(SSINSTALLDIR) install) -(cd dnd; make SSINSTALLDIR=$(SSINSTALLDIR) install) -(cd drawarea; make SSINSTALLDIR=$(SSINSTALLDIR) install) -(cd drawline; make SSINSTALLDIR=$(SSINSTALLDIR) install) -(cd grip; make SSINSTALLDIR=$(SSINSTALLDIR) install) -(cd icons; make SSINSTALLDIR=$(SSINSTALLDIR) install) -(cd misc; make SSINSTALLDIR=$(SSINSTALLDIR) install) -(cd selection; make SSINSTALLDIR=$(SSINSTALLDIR) install) -(cd tree; make SSINSTALLDIR=$(SSINSTALLDIR) install) -(cd drawtext; make SSINSTALLDIR=$(SSINSTALLDIR) install) -(cd drawimage; make SSINSTALLDIR=$(SSINSTALLDIR) install) -(cd tacho; make SSINSTALLDIR=$(SSINSTALLDIR) install) -(cd color; make SSINSTALLDIR=$(SSINSTALLDIR) install) -(cd thermo; make SSINSTALLDIR=$(SSINSTALLDIR) install)