Commit f8895b85 authored by defanor's avatar defanor
Browse files

Make the build dir an order-only prerequisite

Rebuilding used to happen when it shouldn't, for instance on `make
install` after `make`.

The "Types of Prerequisites" section of GNU make manual describes this
situation.
parent 3156e14c
......@@ -103,7 +103,7 @@ $(AXC_PATH):
$(LOMEMO_PATH):
$(MAKE) -C "$(LOMEMO_DIR)" build/libomemo-conversations.a
$(BDIR)/%.o: $(SDIR)/%.c $(BDIR)
$(BDIR)/%.o: $(SDIR)/%.c | $(BDIR)
$(CC) -fPIC $(CFLAGS) $(CPPFLAGS) $(PLUGIN_CPPFLAGS) -c $(SDIR)/$*.c -o $@
$(BDIR)/lurch.so: $(BDIR)/lurch.o $(VENDOR_LIBS)
......
Markdown is supported
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