From f4854ae4c816a7718c88b3b0d230c24786553f26 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 30 Jul 2026 12:36:31 -0700 Subject: SPICE crossbar readout layer --- src/makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/makefile') diff --git a/src/makefile b/src/makefile index bb501b5..9603d7d 100644 --- a/src/makefile +++ b/src/makefile @@ -4,7 +4,7 @@ TARGET := main SPIRES_DIR := ../spires SOURCES := main.c spires_interface.c crossbar_generator.c read_crossbar.c -OBJECTS := $(SOURCES:.c=.o) +OBJECTS := $(SOURCES:.c=.a) PLPLOT_LIBS := $(shell pkg-config --libs plplot) @@ -23,7 +23,7 @@ all: $(TARGET) $(TARGET): $(OBJECTS) $(CC) $(OBJECTS) $(LDFLAGS) $(LDLIBS) -o $(TARGET) -%.o: %.c +%.a: %.c $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@ run: $(TARGET) -- cgit v1.2.3