src = $(wildcard *.c)
obj = $(src:.c=.o)

LDFLAGS = -Wall -g

depth: $(obj)
	$(CC) -o $@ $^ $(LDFLAGS)

.PHONY: clean
clean:
	rm -f $(obj) depth