PROGS = design

CXXFLAGS= -g -I../../include -I/usr/include/X11R4 -I/usr/include/Motif1.1
LFLAGS=
LIBS= -L../../lib -l_mtf_zil -L/usr/lib/Motif1.1 -lXm -L/usr/lib/X11R4 -lXt -lX11 -lc /usr/lib/end.o

OBJS= m_bitobj.o m_object.o z_advanc.o \
	z_bitobj.o z_scombo.o z_config.o z_ctrl.o z_design.o z_dialog.o \
	z_error.o z_file.o z_flag.o z_frame.o z_help1.o z_helped.o z_hlpbar.o \
	z_hlpmsg.o z_image.o z_image1.o z_import.o z_jump.o z_objlst.o \
	z_object.o z_resrc.o z_util.o 

motif: design

design: $(OBJS)
	$(CXX) $(LFLAGS) -o $@ $(OBJS) $(LIBS)

install: motif
	cp design /usr/local/bin
	cp p_design.znc /usr/local/bin

clean:
	-rm -f design *.o
