C_FLAGS = -O3 LINKER = -Xlinker -Map -Xlinker mapfile -Xlinker -Ttext -Xlinker 80100000 #### executable depends on its object files #### and is created/updated by linking them together pong: main.o gcc $(LINKER) main.o -o pong #### object file depends on source and header files #### and is created/updated by compilation main.o: main.c pad.h gcc -c $(C_FLAGS) main.c