diff --git a/Makefile b/Makefile index 10219170..20012a26 100644 --- a/Makefile +++ b/Makefile @@ -181,7 +181,7 @@ $(OBJDIRS): @mkdir -p $@ ${BUILDDIR}/%.o: %.c - $(CC) -MD $(CFLAGS_com) $(CFLAGS) $(CFLAGS_cfg) -c -o $@ $(CURDIR)/$< + $(CC) -MD -MP $(CFLAGS_com) $(CFLAGS) $(CFLAGS_cfg) -c -o $@ $(CURDIR)/$< ${BUILDDIR}/%.so: ${SRCS_EXTRA} ${CC} -O -fbuiltin -fomit-frame-pointer -fPIC -shared -o $@ $< -ldl