Re: [Emc-developers] How does motmod get built?

2019-06-30 Thread Nathan Hartman
On Sun, Jun 30, 2019 at 9:36 AM Dmitry Yurtaev wrote: > > > > I see in src/Makefile, motmod-objs > > > > gets emc/motion/motion.o, emc/motion/command.o, etc., but where are > > > > these object files being built from the .c files? Submakefile under > > > > emc/motion only copies headers to ../inc

Re: [Emc-developers] How does motmod get built?

2019-06-30 Thread Gene Heskett
On Sunday 30 June 2019 08:29:56 Nathan Hartman wrote: > On Fri, Jun 28, 2019 at 4:52 PM Gene Heskett wrote: > > On Friday 28 June 2019 15:08:01 Nathan Hartman wrote: > > > Studying the build system and I'm stumped on how motmod gets > > > built. > > > > > > I see in src/Makefile, motmod-objs > >

Re: [Emc-developers] How does motmod get built?

2019-06-30 Thread Dmitry Yurtaev
> > > I see in src/Makefile, motmod-objs > > > gets emc/motion/motion.o, emc/motion/command.o, etc., but where are > > > these object files being built from the .c files? Submakefile under > > > emc/motion only copies headers to ../includes. There is nothing to > > > compile these source files. > >

Re: [Emc-developers] How does motmod get built?

2019-06-30 Thread Rod Webster
I did look at this to see if I could compile a plasmatask folder (and it was easy) In the main make file around line 110, there is a SUBDIRS section. I can't remember if I had to add a specific entry for the object file but further down around line 1000, there are some defined. See https://github.

Re: [Emc-developers] How does motmod get built?

2019-06-30 Thread andy pugh
On Fri, 28 Jun 2019 at 20:09, Nathan Hartman wrote: > but where are these > object files being built from the .c files? I don't know for sure, but there seems to be some magic in the makefile that gets a list of the .c files based on the target .o file names. Maybe here: https://github.com/LinuxC

Re: [Emc-developers] How does motmod get built?

2019-06-30 Thread Nathan Hartman
On Fri, Jun 28, 2019 at 4:52 PM Gene Heskett wrote: > On Friday 28 June 2019 15:08:01 Nathan Hartman wrote: > > > Studying the build system and I'm stumped on how motmod gets built. > > > > I see in src/Makefile, motmod-objs > > gets emc/motion/motion.o, emc/motion/command.o, etc., but where are

Re: [Emc-developers] How does motmod get built?

2019-06-28 Thread Gene Heskett
On Friday 28 June 2019 15:08:01 Nathan Hartman wrote: > Studying the build system and I'm stumped on how motmod gets built. > > I see in src/Makefile, motmod-objs > gets emc/motion/motion.o, emc/motion/command.o, etc., but where are > these object files being built from the .c files? Submakefile u

[Emc-developers] How does motmod get built?

2019-06-28 Thread Nathan Hartman
Studying the build system and I'm stumped on how motmod gets built. I see in src/Makefile, motmod-objs gets emc/motion/motion.o, emc/motion/command.o, etc., but where are these object files being built from the .c files? Submakefile under emc/motion only copies headers to ../includes. There is not