I read a few question on the subject but can't understand any of the answers so I'll ask again. I'm writing a makefile. I need to create a few object files using c files that's in a subdirrectory. and then using this object files to create an exe in the current directory. how do I do that?
ok, this is what I've tried
fansTest.o: map.h list.h fans.h mtm_ex2.h ./tests/fansTest.c