Commit e0206d2b authored by Jeroen Vreeken's avatar Jeroen Vreeken
Browse files

Fix dep file check

parent 6ea41c1a
......@@ -22,6 +22,7 @@ LIBTOOL=libtool
%.lo: %.c
@echo "LT CC $<"
@${LIBTOOL} --quiet --mode=compile --tag=CC $(CC) -MMD $(CFLAGS) -c $<
@sed -i -e "s:\.libs/::" -e "s:\.o:\.lo:" .libs/$*.d
%.la:
@echo "LIBTOOL $@"
......@@ -49,4 +50,4 @@ LIBTOOL=libtool
@echo " DOT $<"
@dot $< -o $@ -Tpdf
-include $(SRCS:.c=.d)
-include $(SRCS:.c=.d) $(patsubst %.c,.libs/%.d,$(SRCS))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment