SRC = ConnectivityDecoder.cpp  GeometryDecoder.cpp TFanDecoder.cpp TFANDecoderForSC3DMC.cpp
OBJS = $(SRC:.cpp=.o)

CC = g++
CFLAGS = -02 
INCLUDE = -I ../include
LIB_DIR =../lib/
LIB = libTFANDecoder_1_0.a

all : $(OBJS)
	ar cr $(LIB_DIR)$(LIB) $(OBJS)
	ranlib $(LIB_DIR)$(LIB)

%.o: %.cpp
	$(CC) -o $@ -c $< $(CFLAGS) $(INCLUDE)
	
clean:
	@rm -rf *.o
	@rm $(LIB_DIR)$(LIB)
