The quickest of make questions
I need to submit a program with a makefile to compile it. It's just one file and I just want it to be compiled with the following command when the professor types "make"...
g++ -Wno-deprecated -o project project.cpp Can anyone help me out with this? |
See this :
http://www.wlug.org.nz/MakefileHowto |
I didn't get to take a real close look, but I didn't see what I was looking for. I want them to be able to simply type "make" and have this one .cpp file be compiled with that command.
|
Based on the link I posted...
Code:
CFLAGS=-Wno-deprecated -g |
All times are GMT -5. The time now is 02:41 AM. |