aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorjustanothercatgirl <sotov@twistea.su>2024-09-18 09:57:28 +0300
committerjustanothercatgirl <sotov@twistea.su>2024-09-18 09:57:28 +0300
commit8e4446ce02f37a0f9ef145a49a82aae1bf7223fe (patch)
tree3037819eeabd0c0c793869d1c62a72ded88214bf /Makefile
parentbd2943ca42013a089975893eb84e1e48cec6a03b (diff)
initial commitmontecarlo
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 4 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index fdb2c0c..3b59d66 100644
--- a/Makefile
+++ b/Makefile
@@ -1,18 +1,6 @@
+montecarlo: main.c
+ cc $^ -o $@
-all: main libs
-
-# the main program
-main: main.c
- cc -o main main.c
-
-# available libraries
-.PHONY: libs
-libs: libs/*
- cc -shared libs/libsq.c -lm -lc -o libsq
- cc -shared libs/libsin.c -lm -lc -o libsin
- cc -shared libs/libpoly.c -lm -lc -o libpoly
-
-# clear build
.PHONY: clean
-clean:
- rm -f main libsq libsin libpoly
+clean:
+ rm -rf montecarlo