# Makefile for CSE 333 Su12 lecture 6 ll program
# Perkins

# our default target (i.e., first one) is the executable program
example_ll_customer: example_ll_customer.o ll.o
	gcc -Wall -g -o example_ll_customer example_ll_customer.o ll.o

# targets for individual source files
example_ll_customer.o: example_ll_customer.c ll.h
	gcc -Wall -g -c example_ll_customer.c

ll.o: ll.c ll.h
	gcc -Wall -g -c ll.c

# clean: remove files built by makefile and emacs backup files
clean:
	rm -f example_ll_customer *.o *~