From fcf7cdbe0a971825da0bb087383c60e714ab2be0 Mon Sep 17 00:00:00 2001 From: eunhhu Date: Tue, 29 Sep 2026 07:11:32 +0100 Subject: Let links know nothing of the core: the host names inputs and shapes A sender takes its messages' shape, and a listener asks its host which input a stream goes to. The core gives the shape (pure_module_shape); link/ now builds without the core's headers. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 427a08a..10a5f0e 100644 --- a/Makefile +++ b/Makefile @@ -38,6 +38,11 @@ $(BUILD)/obj/%.o: %.c $(HEADERS) @mkdir -p $(dir $@) $(CC) $(CPPFLAGS) $(CFLAGS) $(INCLUDES) -c $< -o $@ +# The links know nothing of the core: they build without its headers. +$(BUILD)/obj/link/%.o: link/%.c $(wildcard link/*.h) + @mkdir -p $(dir $@) + $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@ + $(BUILD)/libpure.a: $(OBJECTS) rm -f $@ $(AR) rcs $@ $^ -- cgit v1.2.3