diff options
| author | eunhhu <[email protected]> | 2026-09-29 07:11:32 +0100 |
|---|---|---|
| committer | eunhhu <[email protected]> | 2026-09-29 07:11:32 +0100 |
| commit | fcf7cdbe0a971825da0bb087383c60e714ab2be0 (patch) | |
| tree | d805332bdd68171349892b950de02cf317988de7 /Makefile | |
| parent | a052b95c8135cdc5f9b91f8efc991cac80fbbe8b (diff) | |
| download | pure-fcf7cdbe0a971825da0bb087383c60e714ab2be0.tar.gz pure-fcf7cdbe0a971825da0bb087383c60e714ab2be0.zip | |
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.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 $@ $^ |
