CFLAGS = -c -g -O2 -pedantic -funsigned-char -Wall -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align all: libtools.so libtools.so: rcc_error.o rcc_time_stamp.o get_input.o gcc -shared -L. -o libtools.so rcc_error.o rcc_time_stamp.o get_input.o rcc_error.o: rcc_error.h rcc_error.c gcc $(CFLAGS) rcc_error.c -o rcc_error.o rcc_time_stamp.o: rcc_time_stamp.h rcc_time_stamp.c gcc $(CFLAGS) -DTSTAMP rcc_time_stamp.c -o rcc_time_stamp.o get_input.o: get_input.c gcc $(CFLAGS) get_input.c -o get_input.o clean: rm -f *.so *.o