Hi,

I'm using gnu make 3.81beta4.

In the following snippet, the first time I run 'make session_module.so'
it will get as far as making session.o, and then stop with the error:

make: *** No rule to make target `soapServer.o', needed by `module'.  Stop.

Then, if I run the same 'make session_module.so' again, it will
dutifully make all the remaining object files and then make
session_module.so.

Why does this stop the first time, but work the second?

TIA.

-

OBJFILES := session.o soapServer.o soapC.o stdsoap2.o wslib.o

%.o: %.cpp soapH.h
    $(CXX) $*.cpp -c -o $@ $(YCFLAGS)

session_module.so: $(OBJFILES)
    $(CXX) -o $@ $(OBJFILES) $(YTFLAGS) $(YFLAGS) $(SFLAGS)

-- 
Ron Peterson
https://www.yellowbank.com/


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to