-using main.c and foo.c
LEVEL = .. LINK = 1 include $(LEVEL)/Makefile.common
I tried this and it doesn't work either for me. If you create a .h file that gives a function prototype for foo.c and include it in both, it will work. That probably shouldn't be necessary though.
- Victor Zhang