Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lmiq committed Oct 11, 2018
2 parents 18339ae + 1539055 commit 0f99c41
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ ifeq ($(MAKECMDGOALS),devel)
FLAGS = -Wall -fcheck=bounds
endif

ifeq ($(MAKECMDGOALS),static)
FLAGS = -O3 -ffast-math -static
endif

###################################################################
# #
# Generally no modifications are required after this. #
Expand All @@ -43,6 +47,7 @@ MODULES = functionpars.o \

all : bindir $(BINARIES)
devel : bindir $(BINARIES)
static: bindir $(BINARIES)

$(BIN)/topolink: Makefile $(MODULES) \
topolink.o \
Expand Down

0 comments on commit 0f99c41

Please sign in to comment.