ICONSECTIONS =	-sectcreate __ICON app pgicon.tiff

pgview: pgview.o portobj.o dispatchobj.o pgviewobj.o ipanel.o hostobj.o
	cc -o pgview pgview.o portobj.o dispatchobj.o \
		pgviewobj.o ipanel.o hostobj.o\
		-framework AppKit -framework Foundation $(ICONSECTIONS)

demo: demo.o nexsup.o
	cc -o demo demo.o nexsup.o

clean:
	rm -f demo pgview *.o
