SOURCES=$(shell ls *.c)
OBJETS=$(patsubst %.c, %.o, ${SOURCES})


LIBS=-lPpmMaker -lm
LLIBS=-L../../LibrairiePpm/lib/
INC=-I../../LibrairiePpm/include -I../include


main : ${OBJETS}
	gcc -o $@  ${OBJETS} ${LLIBS} ${LIBS}

%.o : %.c
	gcc -c $^ ${INC}
