CC=gcc CFLAGS=-Wall -g all: hello string fgets struct pass heap hello: hello.c $(CC) -o hello $(CFLAGS) hello.c string: string.c $(CC) -o string $(CFLAGS) string.c fgets: fgets.c util.h $(CC) -o fgets $(CFLAGS) fgets.c struct: struct.c util.h $(CC) -o struct $(CFLAGS) struct.c pass: pass.c util.h $(CC) -o pass $(CFLAGS) pass.c heap: heap.c util.h $(CC) -o heap $(CFLAGS) heap.c clean: $(RM) hello string fgets struct pass heap