How do you compile makefile?

D

Deleted User

Guest
Um, cd into the folder and type make

That's usally how you compile every makefile
 
D

Deleted User

Guest
How do you mean owo I'm such a noob :v
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
 

yusuo

Well-Known Member
Member
Joined
Oct 19, 2006
Messages
3,502
Trophies
2
Age
38
XP
6,151
Country
United Kingdom

proflayton123

The Temp Loaf'
OP
Member
Joined
Jan 11, 2016
Messages
6,032
Trophies
1
Age
24
Location
日本
Website
www.facebook.com
XP
3,212
Country
Japan
It would help for future references but thanks for the input :)

--------------------- MERGED ---------------------------

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

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.
 

ScarletDreamz

[Debug Mode]
Member
Joined
Feb 16, 2015
Messages
3,967
Trophies
1
Location
/dev/sda1
XP
4,380
Country
United States
It would help for future references but thanks for the input :)

--------------------- MERGED ---------------------------



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.
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,

proflayton123

The Temp Loaf'
OP
Member
Joined
Jan 11, 2016
Messages
6,032
Trophies
1
Age
24
Location
日本
Website
www.facebook.com
XP
3,212
Country
Japan
You need devkitpro if you are going to compile 3ds makefiles or wii.

I have devkitpro

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.

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

ScarletDreamz

[Debug Mode]
Member
Joined
Feb 16, 2015
Messages
3,967
Trophies
1
Location
/dev/sda1
XP
4,380
Country
United States
Thank you very much, someday ill be able to learn >>
Here you go:
https://files.fm/u/727kpxx8

Thank you very much, someday ill be able to learn >>
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,
  • Like
Reactions: proflayton123

yusuo

Well-Known Member
Member
Joined
Oct 19, 2006
Messages
3,502
Trophies
2
Age
38
XP
6,151
Country
United Kingdom
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.
to be fair, compiling a makefile hasn't changed much in about 10 years
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    OctoAori20 @ OctoAori20: Nice nice-