# you need to remove a.out for a new a.out to be made CC=gcc CFLAG=-g a.out: myprog1.c myprog2.c myprog3.c $(CC) $(CFLAG) myprog1.c myprog2.c myprog3.c demo: a.out a.out