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