Write a makefile for the compilation and execution of the program hello.asm used
ID: 3749279 • Letter: W
Question
Write a makefile for the compilation and execution of the program hello.asm used in Lab 01. Additionally write also a makefile for the compilation of the project crt.cpp used in Lab 01. Read the document below for writing the makefile of the project crt.cpp in order to allow separated compilation of the modules in the project. Concepts in practice: Programming Environments Files to be used: Separated compilation Files to be delivered: makefile_asm, makefile_cpp The files to be used are on the following link: Lab 01 folder: https://mega.nz/#F!kI1xjLbK!QNdrglDVrbs4kHDZQnRizw
I really don't know where to start from here. Please don't copy and paste an anwser from a previous post. I want to know exactly how to do it from scratch.
Explanation / Answer
Hi, you seem to have the curiosity and urge to learn from scratch and make things happen.
This is really praiseworthy.
Now to help you with getting started, I would suggest you go through StackOverflow about how to write asm makefiles and - https://stackoverflow.com/questions/18652832/how-to-make-a-makefile-for-a-program-for-assembly-language
Once you're done with that, you should go through : https://stackoverflow.com/questions/2481269/how-to-make-a-simple-c-makefile
I've shared links with you coz I don't think I would be able to explain better than what people have already done there. Also, I don't find it very useful to re-write stuff. Technology was built to save time and not to re-invent the wheel.
Let me know if these help and I hope they do :)
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.