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

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

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

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

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