Hi,
I have all my source files in the Source folder, The makefile is in the Makefile folder and I want all object files to be placed in Objects folder. It is a C project iam working on. All these three folders are in a folder named Project.
Project folder contains: Source Makefile Objects
iam trying to figure out a way to get the makefile to compile source from Source folder, i have tried using:
...
SOURCE_DIR=..\Source
OUTPUT_DIR=..\Objects
.c.obj:
$(CC) $(SOURCE_DIR)\$*.c /Fo$(OUTPUT_DIR)\$*.obj
...
but this is not working, i end up with an error message while says dont know how to make myfile.obj