how to compile a non-PhAB file

Hi Folks,

I add a non-PhAB file to my PhAB program, but I couldn’t compile it in the momentics IDE. I followed the manual, added “MYSRC = file1.c” in files like “indSfiles”, “Makefile” or “common.mk”, but either of them doesn’t work. Is there any other file I can edit?

Thanks!

I thought that just adding a file in the project from the momentics IDE will do the trick. In the PhAB project just right click on the src folder and go to “new->files” and add your .c file.