PROGS = hello1 hello2 hello3 hellog
WPROGS = whello1 whello2 whello3

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

motif: hello1 hello2 hello3 hellog

hello1: hello1.o
	$(CXX) $(LFLAGS) -o $@ $@.o $(LIBS)

hello2: hello2.o
	$(CXX) $(LFLAGS) -o $@ $@.o $(LIBS)

hello3: hello3.o hello.o
	$(CXX) $(LFLAGS) -o $@ $@.o hello.o $(LIBS)

hellog: hellog.o
	$(CXX) $(LFLAGS) -o $@ $@.o $(LIBS)

clean:
	-rm -f hello1 hello2 hello3 hellog *.o
