Added read histogram subroutine. Started work on hist merge utility.

This commit is contained in:
Yggdrasil committed 2026-04-27 17:27:02 +02:00
1 parent 132f091802
commit 01c9bf2018
3 files changed
+115 -19

No files matched your search

+17 -10
View File
@@ -14,22 +14,29 @@ endif
# Output folder
OUT = bin
# Target executable
TARGET = event2
# Targets
TARGET1 = event2
TARGET2 = event2_merge
# Source files
SRCS = event2_03.f gbook.f
SRCS1 = event2_03.f gbook.f
SRCS2 = event2_merge.f gbook.f
# Executable path
EXE = $(OUT)/$(TARGET)
# Executable paths
EXE1 = $(OUT)/$(TARGET1)
EXE2 = $(OUT)/$(TARGET2)
# Default rule
all: $(EXE)
# Default rule (build both)
all: $(EXE1) $(EXE2)
# Build rule
$(EXE): $(SRCS)
# Build rules
$(EXE1): $(SRCS1)
mkdir -p $(OUT)
$(FC) $(FFLAGS) -o $(EXE) $(SRCS)
$(FC) $(FFLAGS) -o $(EXE1) $(SRCS1)
$(EXE2): $(SRCS2)
mkdir -p $(OUT)
$(FC) $(FFLAGS) -o $(EXE2) $(SRCS2)
# Convenience targets
debug: