I hate to provide information so basic as to be insulting. But perhaps a few people don't know what "make's" purpose in life is.
It is simple. You give make a "target". Many times we use the word "all" as the name of the target. Then inside the make file we say "all" followed by the list of other targets that are to be built when ever we which to build "all". These targets can be lists of targets and so on. Finally we get to targets that can be directly build by executing some UNIX command line. When you say "make all" make will build every target and sub-target that needs to be rebuilt. If figures out if a targets needs to be re-build based on the modification timesstams on the files. Make always tries to do the minimum amount of work and will only build targets that are needed by the main target and only then if the source code is modified since the last time the system was built. So what you need to do is give make a reason to compile your dot.c file. It will not bother unless the fie is required by some target. Everyone who uses make has their own conventions fr how this is done. So look and follow the original programmer's conventions. See how other drivers done. For example if there is a file called foobar.c then search for every instance of "foobar" (without the '"c" so as to also find foobar.o) and just copy what was one. I short. make's job is to build targets while dog the minimum amount of re-compiles. If yuwant you .c file compiled you must give make a reason to compile it. > > Tried this but it does not compile while others do. I searched differences > and there is some magic because my new file is not compiled while others are. > -- Chris Albertson Redondo Beach, California ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users