Skip to content

Commit 0f99c41

Browse files
committed
2 parents 18339ae + 1539055 commit 0f99c41

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ ifeq ($(MAKECMDGOALS),devel)
2020
FLAGS = -Wall -fcheck=bounds
2121
endif
2222

23+
ifeq ($(MAKECMDGOALS),static)
24+
FLAGS = -O3 -ffast-math -static
25+
endif
26+
2327
###################################################################
2428
# #
2529
# Generally no modifications are required after this. #
@@ -43,6 +47,7 @@ MODULES = functionpars.o \
4347

4448
all : bindir $(BINARIES)
4549
devel : bindir $(BINARIES)
50+
static: bindir $(BINARIES)
4651

4752
$(BIN)/topolink: Makefile $(MODULES) \
4853
topolink.o \

0 commit comments

Comments
 (0)