Hi all,
I have split out the NML messaging functions from emcrsh.cc into a separate
module, and have both compiling without error. The new module is currently
named 'shcom.cc'. However I am stuck on the make file. The relevant parts of
the Submakefile as I have modified it are:
EMCRSHSRCS := emc/usr_intf/emcrsh.cc \
emc/usr_intf/shcom.cc
Which has emcrsh.cc and shcom.cc compiling and generating object files in
src/objects/emc/usr_intf. I am pretty sure my problem is with this:
../bin/emcrsh: $(call TOOBJS, $(EMCRSHSRCS)) ../lib/libemc.a
../lib/libnml.so
$(ECHO) Linking $(notdir $@)
@$(CXX) $(LDFLAGS) -o $@ $(ULFLAGS) $^ -lpthread
TARGETS += ../bin/emcrsh
I have tried putting in the reference to shcom.o in several places and with
different ways of pathing to it, but generally I keep getting an error of
the form "No rule to make target '... shcom.o', needed by '../bin/emcrsh'".
How do I make this reference?
Thanks,
Eric
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers