summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2022-10-10 22:55:24 +0200
committerJaron Kent-Dobias <jaron@kent-dobias.com>2022-10-10 22:55:24 +0200
commit766988cd11eda0d62689e6c4adc021a3d2d4f567 (patch)
tree80b961b6ca1bc68a4b30ae486267df79db321f55 /Makefile
parent122c2b4aa525df69a2e95d47e9b1202e02fc4301 (diff)
downloadcode-766988cd11eda0d62689e6c4adc021a3d2d4f567.tar.gz
code-766988cd11eda0d62689e6c4adc021a3d2d4f567.tar.bz2
code-766988cd11eda0d62689e6c4adc021a3d2d4f567.zip
Added free energy calculation, and fixed some small mistakes in the library.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d9dd908..4de89d8 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,10 @@ CXX = clang++
LD = ld.lld
LIBS := -lrt
-all: excitation order uniform
+all: excitation order uniform free_energy
+
+free_energy: free_energy.cpp $(BLOSSOM_DIR)/blossom5.o rbmp.hpp
+ $(CXX) $(CFLAGS) $(BLOSSOM_DIR)/blossom5.o free_energy.cpp -o $@
uniform: uniform.cpp $(BLOSSOM_DIR)/blossom5.o rbmp.hpp
$(CXX) $(CFLAGS) $(BLOSSOM_DIR)/blossom5.o uniform.cpp -o $@