aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authory-jan137 <yousefjan24000@gmail.com>2026-03-18 14:04:47 +0300
committery-jan137 <yousefjan24000@gmail.com>2026-03-18 14:04:47 +0300
commit063b20be98747ba0b288545e653ef9489bf14a54 (patch)
treeb655758d2361dda0c6ffd35d6add6c5ea0f5aba4 /Makefile
parentc9583c9897120cea7357ebc78b621aac0440da2c (diff)
Replace DynMLP with DynNet
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..2683f57
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+CC = cc
+CFLAGS = -std=c11 -Wall -Wextra -O2 -I include
+SRCS = src/utils.c src/dynnet.c src/ode_solver.c src/adjoint.c \
+ src/adam.c src/train.c src/spiral.c src/cnf.c src/cnf_train.c \
+ src/tests.c src/test_cnf.c src/main.c
+TARGET = neural_ode
+
+$(TARGET): $(SRCS)
+ $(CC) $(CFLAGS) $(SRCS) -o $(TARGET) -lm
+
+run: $(TARGET)
+ ./$(TARGET)
+
+clean:
+ rm -f $(TARGET)
+
+.PHONY: run clean