Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
joellembatchou committed May 17, 2023
1 parent 2024bcc commit 91dc586
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
7 changes: 6 additions & 1 deletion external_libs/mvtnorm/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
FLAG =-O2 -DNDEBUG -fPIC -arch x86_64
FLAG =-O2 -DNDEBUG -fPIC
AR ?= ar
CXX ?= g++
CC ?= gcc
FC ?= gfortran

UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
FLAG += -arch x86_64
endif

libMvtnorm.a: mvtnorm.o mvt.o randomF77.o
${AR} rcs $@ $^

Expand Down
7 changes: 6 additions & 1 deletion external_libs/pgenlib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@
#
AR ?= ar
CXX ?= g++
CXXFLAGS = -O3 -Wall -std=c++11 -arch x86_64
CXXFLAGS = -O3 -Wall -std=c++11
CFLAGS =

UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
CXXFLAGS += -arch x86_64
endif

OBJECTS = $(patsubst %.cc,%.o,$(wildcard ./include/*.cc)) $(patsubst %.cpp,%.o,$(wildcard *.cpp)) $(patsubst %.cc,%.o,$(wildcard *.cc))
INC = -I./simde/ -I./include/

Expand Down
7 changes: 6 additions & 1 deletion external_libs/qf/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
AR ?= ar
CXX ?= g++
CXXFLAGS = -O2 -DNDEBUG -fPIC -arch x86_64
CXXFLAGS = -O2 -DNDEBUG -fPIC

UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
CXXFLAGS += -arch x86_64
endif

qf.a: qfc.o
${AR} rcs $@ $^
Expand Down
7 changes: 6 additions & 1 deletion external_libs/quadpack/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
FLAG=-O2 -DNDEBUG -fPIC -std=legacy -arch x86_64
FLAG=-O2 -DNDEBUG -fPIC -std=legacy
AR ?= ar
FC ?= gfortran

UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
FLAG += -arch x86_64
endif

OBJECTS = $(patsubst %.f,%.o,$(wildcard ./*.f))

libquad.a: ${OBJECTS}
Expand Down

0 comments on commit 91dc586

Please sign in to comment.