void MyFunction(int argWord, char argByte) { int localWord; char localByte; ... ... ... }
Here is a sample makefile:
Learn about what make does when called with the above makefile by talking to classmates and TAs, reading the man page for make, using your favorite search engine, and experimentation. (Be careful here, as make is smart enough to use implicit rules for updating files when it is pretty obvious what needs to be done. Read and experiment.) After you understand what it does, write a description of make's actions when run with the above makefile. Write your description in pseudo-code. I'll define this loosely as a mixture of C and English of your own devising that uses the structure of C to avoid ambiguity and English for convenience in expressing high-level conditions and actions. Here is an example of acceptable pseudo-code:CC = cc CFLAGS = -g OBJ = src1.o src2.o src3.o prog1: $(OBJ) $(CC) $(CFLAGS) $(OBJ) -o prog1 src1.o: ops.h def.h src1.c src2.o: ops.h def.h src2.c src3.o: ops.h def2.h src3.c
if (you'd like to come && you have time) come to the class BBQ at my house; else don't worry about it but you'll miss the fun;