I have a C code of about 5 files.
main.c & main.h
typeA.c & typeA.h
typeB.c & typeB.h
The problem is that I have to make a makefile that compiles for typeA or typeB but not both.:rolleyes:
A further complication is that I can have typeB compiled for either N (a variable in code ) = 10 or = 56 (This controls the number of decimal places the code works into ).
I need to encapsulate all this in a single makefile and as I am a n00b , need help here.:confused:
Anything that points me in correct direction is much appreciated.