Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/cvxgrp/scs
Browse files Browse the repository at this point in the history
  • Loading branch information
bodonoghue committed Dec 19, 2014
2 parents d7053d5 + 763a295 commit 4a1dbbd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scs.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,20 @@ endif

ifeq ($(UNAME), Darwin)
# we're on apple, no need to link rt library
LDFLAGS = -lm
LDFLAGS += -lm
SHARED = dylib
else ifeq ($(ISWINDOWS), 1)
# we're on windows (cygwin or msys)
LDFLAGS = -lm
LDFLAGS += -lm
SHARED = dll
else
# we're on a linux system, use accurate timer provided by clock_gettime()
LDFLAGS = -lm -lrt
LDFLAGS += -lm -lrt
SHARED = so
endif

CFLAGS = -g -Wall -pedantic -O3 -funroll-loops -Wstrict-prototypes -I. -Iinclude #-Wextra
# Add on default CFLAGS
CFLAGS += -g -Wall -pedantic -O3 -funroll-loops -Wstrict-prototypes -I. -Iinclude
ifneq ($(ISWINDOWS), 1)
CFLAGS += -fPIC
endif
Expand Down

0 comments on commit 4a1dbbd

Please sign in to comment.