#
#    SCCS ID: %Z%%M% %I% %E% SMI
#
#    Copyright (c) 1990,1991 Sun Microsystems, Inc.  All rights reserved.
#    See LEGAL_NOTICE file for terms of the license.
#

#CCFLAGS = -I$(OPENWINHOME)/include -I$(UITHOME)/include/c++ \
#	  -L$(UITHOME)/lib  -L$(OPENWINHOME)/lib
#
#LDLIBS = -lUIC -lxvps -lxview -lolgx -lX -lcps -lm
#LDLIBS += -lwire

C++FLAGS = -I$(OPENWINHOME)/include/uit
LDLIBS = -L$(OPENWINHOME)/lib -L/usr/X386/lib -lUIC -lsspkg -lxview -lolgx -lX11 -lm

OBJECTS = driver.o PropertiesWindow.o

TARGET = driver

all: $(TARGET)

driver: driver.o PropertiesWindow.o
	g++ $(CCFLAGS) -o driver $(OBJECTS) $(LDLIBS)

driver.o: driver.cc PropertiesWindow.h
PropertiesWindow.o: PropertiesWindow.cc PropertiesWindow.h

install:
	install -s $(TARGET) $(INSTALLDIR)

delete:
	/bin/rm -f $(OBJECTS) $(TARGET)

clean:
	/bin/rm -f $(OBJECTS) $(TARGET) core
