Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F112703263
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, May 12, 10:25
Size
335 B
Mime Type
text/x-makefile
Expires
Wed, May 14, 10:25 (2 d)
Engine
blob
Format
Raw Data
Handle
26132206
Attached To
R12662 PHPC-graded_hw_1
Makefile
View Options
CXX=g++
LD=${CXX}
#DEBUG+=-pg -g -O0
CXXFLAGS+= $(DEBUG) -Wall -Wextra -Werror -pedantic -std=c++11 -I${OPENBLAS_ROOT}/include
LDFLAGS+=-lm $(CXXFLAGS) -L${OPENBLAS_ROOT}/lib -lopenblas
OBJS=cg_main.o cg.o matrix.o matrix_coo.o mmio.o
all: cgsolver
cgsolver: $(OBJS)
$(LD) -o $@ $(OBJS) $(LDFLAGS)
clean:
rm -f cgsolver *.o *~
Event Timeline
Log In to Comment