INC_DIR= ../../include
LIB_DIR= ../../lib
BIN_DIR= ../../bin

LDFLAG=@LDFLAG@ -L$(LIB_DIR)
LIBS= -lARgsub -lARvideo -lAR @LIBS@
CFLAG= @CFLAG@ -I$(INC_DIR)

OBJS =
HEADDERS =

all: $(BIN_DIR)/rangeTest

$(BIN_DIR)/rangeTest: rangeTest.o $(OBJS)
	cc -o $(BIN_DIR)/rangeTest rangeTest.o $(OBJS) $(LDFLAG) $(LIBS)

rangeTest.o: rangeTest.c $(HEADDERS)
	cc -c $(CFLAG) rangeTest.c

clean:
	rm -f *.o
	rm -f $(BIN_DIR)/rangeTest

allclean:
	rm -f *.o
	rm -f $(BIN_DIR)/rangeTest
	rm -f Makefile
