[Emc-users] makefile question

2012-10-19 Thread lloyd wilson
I'm starting to work on a user interface program for a physical control 
panel for my hurco mill  can't get the makefile to cooperate. The 
program will essentially provide a subset of the NML messages as defined 
in halui, but with modbus communication rather that HAL. To verify the 
build environment for this exercise, I have done the following:

- clone the source definition in usr_intf/Submakefile:

MODBUSUISRCS := emc/usr_intf/modbusui.cc

- clone the build definition in usr_intf/Submakefile:

../bin/modbusui: $(call TOOBJS, $(MODBUSUISRCS)) ../lib/liblinuxcnc.a 
../lib/liblinuxcncini.so.0 ../lib/libnml.so.0 ../lib/liblinuxcnchal.so.0
 $(ECHO) Linking $(notdir $@)
 $(Q)$(CXX) $(LDFLAGS) -o $@ $(ULFLAGS) $^
TARGETS += ../bin/modbusui

- clone the dependency file in src/depends/emc/usr_intf


At the moment, the source file is an unmodified copy of halui (I'm just 
testing the build environment).

Before modifying the makefile, the build process behaved as expected. 
After the modifications, I get
an error message:

make: Failed to remake makefile `Makefile'.

Evidently, something else needs a tweak in the make environment, but I 
can't find it. Help!



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] makefile question

2012-10-19 Thread Chris Radek
On Fri, Oct 19, 2012 at 08:42:15PM -0400, lloyd wilson wrote:
 
 make: Failed to remake makefile `Makefile'.

You can ask make to elaborate on this error; see
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?FailedToRemakeMakefile


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users