CC = gcc -g -c -Wall LINK = gcc -g TARGET = test_poly all: $(TARGET) test_poly: test_poly.o polynome.o $(LINK) -o test_poly test_poly.o polynome.o .c.o: $(CC) $*.c polynome.o: polynome.h test_poly.o: polynome.h clean: rm *.o $(TARGET)