So one of my assignments is to code a MAKEFILE program. Though we discussed this over in class I'm not sure exactly sure how it works. Here's one of the examples we went over:
----------------------------------------------------------------------------- #
# DELDIR makefile
# Old-style MAKEFILE format. Microsoft MAKE V1.x
# Similar to CSC3350 Lab Assignment
----------------------------------------------------------------------------- #
###############################################################################
# Targets
findfile.obj: findfile.c
cl /c findfile.c
setdta.obj : setdta.c
cl /c setdta.c
deletes.obj: deletes.c deldir.h
cl /c /Zid deletes.c
deldir.obj: deldir.c deldir.h
cl /c deldir.c
deldir.exe: deldir.obj findfile.obj setdta.obj deletes.obj
cl /Zid deldir.obj deletes.obj findfile.obj setdta.obj
So this is called a "script"? Does that mean this is what the code looks like? Also, how does each line function? If someone could explain this to me I would be very grateful.
Thank you!
J