# @(#) Makefile 1.6 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: gripdemo puzzdemo nonlin temp_grip gripdemo: gripdemo.o cc -o $@ gripdemo.o $(LDFLAGS) puzzdemo: puzzdemo.o cc -o $@ puzzdemo.o $(LDFLAGS) nonlin: nonlin.o cc -o $@ nonlin.o $(LDFLAGS) temp_grip: temp_grip.o cc -o $@ temp_grip.o $(LDFLAGS) clean: rm -f *.o puzzdemo gripdemo nonlin temp_grip install: install -m 0755 -s gripdemo $(SSINSTALLDIR)/gripdemo install -m 0755 -s puzzdemo $(SSINSTALLDIR)/puzzdemo install -m 0755 -s nonlin $(SSINSTALLDIR)/nonlin install -m 0755 -s temp_grip $(SSINSTALLDIR)/temp_grip