How do you compile makefile?

Discussion in 'General Off-Topic Chat' started by proflayton123, Feb 10, 2017.

  1. proflayton123
    OP

    proflayton123 Undeclared Shitposter 2.1

    Member
    5,908
    2,235
    Jan 11, 2016
    Japan
    日本
  2. VinLark

    VinLark This machine kills bourgeois sentimentality.

    Member
    4,195
    5,052
    Jun 11, 2016
    Trinidad and Tobago
    Psychosystem Denomination
    Um, cd into the folder and type make

    That's usally how you compile every makefile
     
  3. proflayton123
    OP

    proflayton123 Undeclared Shitposter 2.1

    Member
    5,908
    2,235
    Jan 11, 2016
    Japan
    日本
    How do you mean owo I'm such a noob :v
     
  4. VinLark

    VinLark This machine kills bourgeois sentimentality.

    Member
    4,195
    5,052
    Jun 11, 2016
    Trinidad and Tobago
    Psychosystem Denomination
    Ok, so put the files in a folder and put them say, on your desktop

    Go into cmd and do Shift+right click in the folder and do open terminal windows. Type make.

    Or, you can download something like Cygwin and do cd C:/Users/(name)/Desktop(or whatever folder it's in)/(folder name) and press enter. Than type make
     
  5. yusuo

    yusuo GBAtemp Addict

    Member
    2,613
    966
    Oct 19, 2006
  6. VinLark

    VinLark This machine kills bourgeois sentimentality.

    Member
    4,195
    5,052
    Jun 11, 2016
    Trinidad and Tobago
    Psychosystem Denomination
    Yeah, let's let other people deal with OP's question, we here are too lazy! OP shouldn't get personal help that can answer every question, let's have her deal with old forum questions.
     
  7. proflayton123
    OP

    proflayton123 Undeclared Shitposter 2.1

    Member
    5,908
    2,235
    Jan 11, 2016
    Japan
    日本
    It would help for future references but thanks for the input :)

    — Posts automatically merged - Please don't double post! —

    Code:
    C:\Users\Layton>InputRedirection/input_proc/Makefile
    'InputRedirection' is not recognized as an internal or external command,
    operable program or batch file.
    
    C:\Users\Layton>make
    make: *** No targets.  Stop.
    
    C:\Users\Layton>
    C:\Users\Layton>make
    make: *** No targets.  Stop.
     
  8. Zero72463

    Zero72463 GBAtemp Maniac

    Member
    1,345
    665
    Jun 27, 2016
    United States
    You need devkitpro if you are going to compile 3ds makefiles or wii.
     
  9. ScarletDreamz

    ScarletDreamz [Debug Mode]

    Member
    2,806
    1,206
    Feb 16, 2015
    United States
    California
    Compiled it without issues here, at first try o-o
    C:\Users\Admin\Desktop\Sources\InputRedirection\input_proc>make
    build/source/heap_shim.o
    build/source/main.o
    build/source/injected.o
    output/InputProc.elf
    output/3ds/InputProc/InputProc.smdh
    output/3ds/InputProc/InputProc.3dsx
    build/banner.bnr
    build/icon.icn
    output/InputProc.3ds
    output/InputProc.cia
    output/InputProc.zip
    /bin/sh: line 1: zip: command not found
    make: *** [output/InputProc.zip] Error 127

    Ignore the last error, im missing the zip command but i dont really need it. cia and 3dx files are generated.
     
    Last edited by ScarletDreamz, Feb 10, 2017
  10. proflayton123
    OP

    proflayton123 Undeclared Shitposter 2.1

    Member
    5,908
    2,235
    Jan 11, 2016
    Japan
    日本
    I have devkitpro

    Could you pls send me the .cia of it ~;~ please
     
  11. ScarletDreamz

    ScarletDreamz [Debug Mode]

    Member
    2,806
    1,206
    Feb 16, 2015
    United States
    California
    Sure, give me a second.
     
  12. proflayton123
    OP

    proflayton123 Undeclared Shitposter 2.1

    Member
    5,908
    2,235
    Jan 11, 2016
    Japan
    日本
    Thank you very much, someday ill be able to learn >>
     
  13. ScarletDreamz

    ScarletDreamz [Debug Mode]

    Member
    2,806
    1,206
    Feb 16, 2015
    United States
    California
    Here you go:
    https://files.fm/u/727kpxx8

    mmm. its not that hard to compile, just be sure:
    • Directories dont have spaces between them. make command dont recognize spaces.
    • MinGW its installed and you can use the CMD terminal to execute the MAKE command
    • DevkitPRO and DevKitARM are installed
    • Libctru 1.2.0 its recommended.
    • Dont run MAKEFILE, you need to run "make" without quotes.
     
    Last edited by ScarletDreamz, Feb 10, 2017
    proflayton123 likes this.
  14. Lucifer666

    Lucifer666 all the world needs is me

    Member
    1,499
    737
    Apr 22, 2011
    The Fourth Dimension
    In general, projects distributed with a makefile are compiled using 'make' in whatever applicable terminal/command prompt after navigating to the source folder.
     
  15. yusuo

    yusuo GBAtemp Addict

    Member
    2,613
    966
    Oct 19, 2006
    to be fair, compiling a makefile hasn't changed much in about 10 years
     
  16. Alkéryn

    Alkéryn Moon Dweller ~

    Member
    1,545
    1,942
    Mar 15, 2015
    France
    Albategnius, Moon
    On linux
    >cd directory
    >make

    if it don't work install make and optionaly git packages ^^
     
  17. Stary2001

    Stary2001 Newbie

    Newcomer
    7
    10
    Aug 1, 2016
    Zidapi likes this.