Skip to content

Commit 95f8481

Browse files
authored
Merge pull request #134 from mgates3/make-ccflags
make: fix CCFLAGS. Resolves #17.
2 parents 0e87672 + 52063e6 commit 95f8481

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/make.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ jobs:
3737
- name: Build ScaLAPACK
3838
run: |
3939
cp SLmake.inc.example SLmake.inc
40-
make --silent -j lib
41-
make --silent all
42-
40+
# make -j is buggy; see #54.
41+
make lib
42+
make all
43+
4344
- name: Run examples
4445
working-directory: ${{github.workspace}}/EXAMPLE
4546
run: |

SRC/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,13 +217,13 @@ dlamov.o: dlamov.c
217217
clamov.o: clamov.c
218218
zlamov.o: zlamov.c
219219
slamov.o dlamov.o clamov.o zlamov.o: lamov.h
220-
$(CC) -c $(CFLAGS) $(CDEFS) $(@:.o=.c) -o $@
220+
$(CC) -c $(CCFLAGS) $(CDEFS) $(@:.o=.c) -o $@
221221

222222
clean :
223223
rm -f *.o
224224

225-
.f.o :
225+
.f.o :
226226
$(FC) -c $(FCFLAGS) $*.f
227227

228-
.c.o :
228+
.c.o :
229229
$(CC) -c $(CDEFS) $(CCFLAGS) $*.c

0 commit comments

Comments
 (0)