This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

makefile

Hi

I am not very familiar with "makefiles". I read that is a way to tell the compiler the order and organization of the files; I guess it is like creating a project in uvision, but i am not sure. Anyway, i have a set of files that were created with a makefile, and i don't know hot to create the project from it, can anybody help me?

Thanks

Parents
  • Hans-Bernhard,
    You just totally bypass the "target switching"

    an example from a .bat

    IF "%1"=="a"  goto lca
    IF "%1"=="aa" goto lcaa
    IF "%1"=="b"  goto lcb
    IF "%1"=="ba" goto lcba
    IF "%1"=="l"  goto lcl
    IF "%1"=="t"  goto lct
    :lca
    copy ..\sc\cond\sfa.h  condit.h		>..\trash\trashbin
    copy ..\ss\usmaina.c   usmain.x		>..\trash\trashbin
    copy ..\ss\usledst1.c  usledstb.x	>..\trash\trashbin
    copy ..\ss\ussgndv1.c  ussgndvr.x	>..\trash\trashbin
    goto lxx

    Erik

Reply
  • Hans-Bernhard,
    You just totally bypass the "target switching"

    an example from a .bat

    IF "%1"=="a"  goto lca
    IF "%1"=="aa" goto lcaa
    IF "%1"=="b"  goto lcb
    IF "%1"=="ba" goto lcba
    IF "%1"=="l"  goto lcl
    IF "%1"=="t"  goto lct
    :lca
    copy ..\sc\cond\sfa.h  condit.h		>..\trash\trashbin
    copy ..\ss\usmaina.c   usmain.x		>..\trash\trashbin
    copy ..\ss\usledst1.c  usledstb.x	>..\trash\trashbin
    copy ..\ss\ussgndv1.c  ussgndvr.x	>..\trash\trashbin
    goto lxx

    Erik

Children
No data