CFLAGS=-Wall -O3 PROGRAMS=simple_pointer adv_pointer char_pointer pointer_func array_pointer all: $(PROGRAMS) simple_pointer: gcc -o simple_pointer $(CFLAGS) simple_pointer.c adv_pointer: gcc -o adv_pointer $(CFLAGS) adv_pointer.c char_pointer: gcc -o char_pointer $(CFLAGS) char_pointer.c pointer_func: gcc -o pointer_func $(CFLAGS) pointer_func.c array_pointer: gcc -o array_pointer -Wall -O1 array_pointer.c clean: rm -f $(PROGRAMS)