logo

Crowdly

Create a simple C application made of multiple source and header files. Your a...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Create a simple C application made of multiple source and header files.

Your application must contain at least these files:

- main.c

- math_utils.c

- math_utils.h

- message.c

- message.h

- Makefile

Requirements:

1. main.c should use functions declared in both math_utils.h and message.h.

2. math_utils.c should implement a very simple function such as add(int a, int b).

3. message.c should implement a very simple function such as printMessage().

4. Write a Makefile that builds the executable named app.

5. Use make to compile the program.

6. Run the program to show that it works.

7. Then modify one source file or one header file and run make again.

8. Show which files are recompiled.

Your submission must include screenshots from your Linux VM showing:

- the project files

- the Makefile

- the command make

- the program running successfully

- a file being modified

- the result of running make again

- your name visible in the screenshots

You may also paste your Makefile and source code in the answer box or upload them in a ZIP file.

More questions like this

Want instant access to all verified answers on lms.aub.edu.lb?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!