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)/relationTest

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

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

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

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