# @(#) Makefile 1.4 92/10/21 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: darea1 darea2 hist hist_stdin custom darea1: darea1.o cc -o $@ darea1.o $(LDFLAGS) darea2: darea2.o cc -o $@ darea2.o $(LDFLAGS) hist: hist.o cc -o $@ hist.o $(LDFLAGS) hist_stdin: hist_stdin.o cc -o $@ hist_stdin.o $(LDFLAGS) custom: custom.o cc -o $@ custom.o $(LDFLAGS) clean: rm -f *.o darea1 darea2 hist hist_stdin custom install: install -m 0755 -s darea1 $(SSINSTALLDIR)/darea1 install -m 0755 -s darea2 $(SSINSTALLDIR)/darea2 install -m 0755 -s hist $(SSINSTALLDIR)/hist install -m 0755 -s hist_stdin $(SSINSTALLDIR)/hist_stdin install -m 0755 -s custom $(SSINSTALLDIR)/custom