(I'm working on Windows)
The makefile I've inherited, for gcc, compiles various components of the project in place in different subdirectories. I can't figure out how to make icl put the object file in the same place as the source file (except by explicitly specifying the diirectory).
icl -c foo\\bar.c -Fofoo\\
but I don't know how to write the general rule in the makefile, to replace the gcc version:
$(CC) $(CFLAGS) $< -o $@