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

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

OBJS =
HEADDERS =

all: $(BIN_DIR)/multiTest

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

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

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

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