AAE-CNAS-Labs/Topic-3-Forking/Makefile

12 lines
289 B
Makefile

# target : source files
task_2_1 : task_2_1.o child_functions.o
gcc -Wall -o task_2_1 task_2_1.o child_functions.o
task_2_1.o : task_2_1.c
gcc -Wall -o task_2_1.c
child_functions.o : child_functions.c
gcc -Wall -c child_functions.c
clean:
rm -f task_2_1 task_2_1.o child_functions.o