blob: 9d4f40b8ff8bf773ba6ad4361d63620bb767a4f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
diff -up vendor/Makefile.old vendor/Makefile
--- vendor/Makefile.old 2024-01-10 15:37:23.308921592 +0100
+++ vendor/Makefile 2024-01-10 15:37:45.820751910 +0100
@@ -1,6 +1,6 @@
all:
- cd lua && $(MAKE) all MYCFLAGS="-g" && cd ..
- cd mcmc && $(MAKE) all && cd ..
+ cd lua && $(MAKE) all MYCFLAGS="@CFLAGS@" && cd ..
+ cd mcmc && $(MAKE) all MYCFLAGS="@CFLAGS@" && cd ..
clean:
cd lua && $(MAKE) clean && cd ..
diff -up vendor/mcmc/Makefile.old vendor/mcmc/Makefile
--- vendor/mcmc/Makefile.old 2024-01-10 15:43:11.777774397 +0100
+++ vendor/mcmc/Makefile 2024-01-10 15:46:09.679336049 +0100
@@ -1,9 +1,10 @@
# gcc -g -Wall -Werror -pedantic -o example example.c mcmc.c
PREFIX=/usr/local
+MYCFLAGS=
all:
- gcc -g -O2 -Wall -Werror -pedantic -o example example.c mcmc.c
- gcc -g -O2 -Wall -Werror -pedantic -c mcmc.c
+ gcc -g -O2 -Wall -Werror -pedantic -o example example.c mcmc.c $(MYCFLAGS)
+ gcc -g -O2 -Wall -Werror -pedantic -c mcmc.c $(MYCFLAGS)
clean:
rm -f example mcmc.o
|