Question: The Python Makefile must use the file python_program.py to create an executable file called python_program. Assume that your Python Makefile is called Makefile.python and is
The Python Makefile must use the file python_program.py to create an executable file called python_program.
Assume that your Python Makefile is called Makefile.python and is in the same directory as the python_program.py, and therefore, when you run make -f Makefile.python in that directory, your Python Makefile will create a python_programexecutable.
Also, your Python Makefile must recreate python_program when python_program.py changes.
#!/usr/bin/env python def main(): print("Hello world from Python") main()
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
