# @(#) Makefile 1.4 92/11/12 SSPKGHOME = ../.. LIBS = -lsspkg -lxview -lolgx -lX11 #SSPKGLIB = $(SSPKGHOME)/lib/libsspkg.a DBXFLAGS = -O CFLAGS = $(DBXFLAGS) -I$(SSPKGHOME)/include -I$(OPENWINHOME)/include LDFLAGS = $(SSPKGLIB) -L$(LIBDIR) $(LIBS) $(SSPKGLIB) -lm all: drawrect example1 drawrect: drawrect.o cc -o $@ drawrect.o $(LDFLAGS) example1: example1.o cc -o $@ example1.o $(LDFLAGS) clean: rm -f *.o drawrect example1 install: install -m 0755 -s drawrect $(SSINSTALLDIR)/drawrect install -m 0755 -s example1 $(SSINSTALLDIR)/example1