#thrulay test utility makefile CC = gcc THRULAY_INCLUDES = <where thrulay-hd is installed>/include/ LIBTHRULAY = <path where thrulay-hd is installed>/lib/libthrulay.a EXECUTABLES = thrulay_tu CFLAGS = -g -Wall -I$(THRULAY_INCLUDES) #choose one of the following for your system #libraries for linux and mac LIBS = ${LIBTHRULAY} -lm -lpthread #libraries for solaris LIBS = ${LIBTHRULAY} -lm -lpthread -lsocket #libraries for freebsd LIBS = ${LIBTHRULAY} -lm -pthread all: $(EXECUTABLES) .SUFFIXES: .c .o .c.o: $(CC) $(CFLAGS) -c $*.c thrulay_tu: thrulay_tu.o $(CC) $(CFLAGS) -g -o thrulay_tu thrulay_tu.o ${LIBS} clean: rm -f core $(EXECUTABLES) *.o *.so