Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A) Modify Project 9 program so that the program is split into three source files and two header files. B) Write a makefile to build
A) Modify Project 9 program so that the program is split into three source files and two header files.
B) Write a makefile to build the roster program on student cluster. The makefile should contain the following rules:
Code from project 9:
1) Put all functions related to operations on the list of equipments into equipment.c 2) Create a header file named equipment.h that contains struct equipment declaration and prototypes for the functions in equipment.c. The header file should enclose the contents of the header file in an #ifndef- #endif pair to protect the file. 3) Put the read line function is in a separate file named readline.c 4) Create a header file named readline.h that contains a prototype for the read line function. The header file should enclose the contents of the header file in an #1 fndef-#endif pair to protect the file. 5) group_equip.c contains the main function. 6) Include appropriate header files in the source filesStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started