# @(#) Makefile 1.2 92/06/24 SSPKGHOME = ../.. LIBS = -lsspkg -lxview -lolgx -lX11 #SSPKGLIB = $(SSPKGHOME)/lib/libsspkg.a .KEEP_STATE: DBXFLAGS = -O CFLAGS = $(DBXFLAGS) -I$(SSPKGHOME)/include -I$(OPENWINHOME)/include LDFLAGS = $(SSPKGLIB) -L$(LIBDIR) $(LIBS) $(SSPKGLIB) -lm all: tlstool treetool lex.yy.c: treetool.l flex treetool.l lex.yy.o: lex.yy.c treetool: lex.yy.o $(SSPKGLIB) cc -o $@ lex.yy.o $(LDFLAGS) tlstool: tlstool.o $(SSPKGLIB) cc -o $@ tlstool.o $(LDFLAGS) clean: rm -f *.o tlstool treetool lex.yy.c install: install -m 0755 -s tlstool $(SSINSTALLDIR)/tlstool install -m 0755 -s treetool $(SSINSTALLDIR)/treetool