diff options
| author | Connor Moore <connor@hhmoore.ca> | 2026-04-06 06:45:20 -0400 |
|---|---|---|
| committer | Connor Moore <connor@hhmoore.ca> | 2026-04-06 06:45:20 -0400 |
| commit | 7c68f03c153303be21a4c109ef858e8a80ae318b (patch) | |
| tree | c1eed8070a19882255fa82cac88637fc4458a6a1 /Makefile | |
| parent | c5d3fe949c1354e89c228e67f75af26af1ae0502 (diff) | |
Minimal working example. No OpenMP yet. Added plotting functionality with Gnuplot
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,10 +1,13 @@ FC = gfortran -FFLAGS = -march=native -Ofast +FFLAGS = -march=native -O3 XNAME = monte_carlo.x NPROC := $(shell nproc) -all: build run plot +all: clean build run plot + +clean: + rm -f *.x *.out *.mod build: main.f90 $(FC) $(FFLAGS) main.f90 -o $(XNAME) @@ -13,4 +16,4 @@ run: build OMP_NUM_THREADS=$(NPROC) ./$(XNAME) plot: run - echo test + gnuplot plot.gnu |
