diff options
| author | Your Name <[email protected]> | 2026-08-28 13:45:46 -0700 |
|---|---|---|
| committer | Your Name <[email protected]> | 2026-08-28 13:45:46 -0700 |
| commit | 2a3cb69b71539953489752cea5f34e87cdb7814a (patch) | |
| tree | 8fc3668d1813c4e389067c9acb35621f7a5c8ab2 /makefile | |
| parent | 8671410a0f9bdd4b405762ad4790c15d601b0fba (diff) | |
merge online to main
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -6,12 +6,14 @@ BUILD_DIR = build BIN_DIR = bin TARGET = $(BIN_DIR)/benchmark +MODE ?= online SOURCES = \ $(SRC_DIR)/application.c \ $(SRC_DIR)/spires_interface.c \ $(SRC_DIR)/crossbar_generator.c \ $(SRC_DIR)/read_crossbar.c \ + $(SRC_DIR)/online_crossbar.c \ $(SRC_DIR)/benchmark.c OBJECTS = $(SOURCES:$(SRC_DIR)/%.c=$(BUILD_DIR)/%.o) @@ -38,6 +40,8 @@ LDLIBS = \ -lopenblas \ -llapacke \ -lplplot \ + -lngspice \ + -lpthread \ -lm \ -fopenmp @@ -58,7 +62,7 @@ $(BIN_DIR): mkdir -p $(BIN_DIR) run: $(TARGET) - ./$(TARGET) + ./$(TARGET) --$(MODE) clean: rm -rf $(BUILD_DIR) $(BIN_DIR) |
