#
# This is a simple Makefile that takes advantage of make's "smart"
# recompilation feature, by having the compilation depend on the .o files
# instead of .c files.  Using this feature of make, a .c file is only
# recompiled if it is newer than it's corresponding .o file.
#

OBJS = linked-list.o list-node.o linked-list-test.o

linked-list-test:	$(OBJS)
			gcc -Wall -ansi $(OBJS) -o linked-list-test

clean:
			rm linked-list-test *.o