#Makefile for assignment 9

GPP = g++
OPTIONS = -c
OPTIONS2 = -lpthread
SRC = r_simple_v6.cpp
OBJS = r_simple_v6.o

##
# Target Definitions
##

all:	clean a.out $(OBJS)

a.out: $(OBJS)	
	$(GPP) -o srecv $(OBJS) $(OPTIONS2)

$(OBJS):$(SRC)	
	$(GPP) $(OPTIONS) $(SRC)

clean:
	rm -rf *.o
	rm -rf a.out
	rm -rf srecv
	rm -rf rtime.txt

