CC=gcc CPP=g++ PARAMS=-std=c99 -Wall -pedantic -g PARAMSCPP=-Wall -pedantic -g all: tail wordcount tailcc tail: tail.c $(CC) $(PARAMS) tail.c -o tail tailcc: tail.cc $(CPP) $(PARAMSCPP) tail.cc -o tailcc #wordcount: wordcount.c hash_function.o htable.o io.h # $(CC) $(PARAMS) wordcount.c -o wordcount # create static library htable.a: htable.o hash_function.o ar crs htable.a htable.o hash_function.o # create shared library htable.so: htable.o hash_function.o $(CC) $(CFLAGS) -shared -o htable.so htable.o hash_function.o hash_function.o: hash_function.c hash_function.h htable.o: htable_begin.c htable_end.c htable_next.c htable_clear.c htable_free.c htable_init.c htable_it_eq.c htable_lookup.c