File tree Expand file tree Collapse file tree 2 files changed +20
-8
lines changed
Expand file tree Collapse file tree 2 files changed +20
-8
lines changed Original file line number Diff line number Diff line change 11# Fortran stdlib Makefile
22
33FC ?= gfortran
4+ CC ?= gcc
5+ CXX ?= g++
6+
47FFLAGS ?= -Wall -Wextra -Wimplicit-interface -fPIC -g -fcheck=all -fno-range-check
58FYPPFLAGS ?=
69
@@ -11,6 +14,8 @@ FYPPFLAGS += \
1114 -DPROJECT_VERSION_PATCH=$(word 3,$(VERSION))
1215
1316export FC
17+ export CC
18+ export CXX
1419export FFLAGS
1520export FYPPFLAGS
1621
Original file line number Diff line number Diff line change 1- CC = gcc
2- CXX = g++
3-
4- FFLAGS = -Wall -Wextra -Wimplicit-interface -fPIC -g -fcheck=all -fno-range-check
5- CFLAGS = -O3
6- CXXFLAGS = -O3
1+ FFLAGS = #-g -check all -debug all
2+ CFLAGS = #-g -debug all
3+ CXXFLAGS = #-g -debug all
4+ #CFLAGS += -P -cpp
5+ #CXXFLAGS += -P -cpp
6+
7+ #CC = gcc
8+ #CXX = g++
9+ #FFLAGS =
10+ #CFLAGS =
11+ #CXXFLAGS =
12+ #CFLAGS = -E
13+ #CXXFLAGS = -E
714
815CPPFLAGS += -I. -I../.. -I..
916LDFLAGS += -L../.. -L.. -lstdlib-testing -lstdlib
@@ -41,11 +48,11 @@ SpookyV2Test.o: SpookyV2Test.cpp SpookyV2.h
4148 $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c SpookyV2Test.cpp -o SpookyV2Test.o
4249
4350nmhash_scalar.o: nmhash_scalar.c nmhash_scalar.h
44- $(CC) $(CXXFLAGS ) $(CPPFLAGS) -c nmhash_scalar.c -o nmhash_scalar.o
51+ $(CC) $(CFLAGS ) $(CPPFLAGS) -c nmhash_scalar.c -o nmhash_scalar.o
4552
4653clean:
4754 rm nmhash_scalar.o SpookyV2Test.o SpookyV2.o waterhash.o pengyhash.o \
48- libc_hash.a generate_hash_arrays.o $(PROGS) \
55+ libc_hash.a generate_hash_arrays.o $(PROGS) *.*mod \
4956 *.bin
5057
5158
You can’t perform that action at this time.
0 commit comments