Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92095483
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
Sun, Nov 17, 07:45
Size
393 B
Mime Type
text/x-makefile
Expires
Tue, Nov 19, 07:45 (2 d)
Engine
blob
Format
Raw Data
Handle
22375577
Attached To
rSCINTROPAR Introduction to parallelism
Makefile
View Options
FC = gfortran
CC = gcc
LD = $(FC)
OPTIM = -O3 -ftree-vectorize -fopenmp
FCFLAGS = $(OPTIM)
LDFLAGS = $(FCFLAGS) -lm
EXEC_SEQ = pi_seq
objects = pi_seq.o second.o
%.o: %.f90
$(FC) -c $(FCFLAGS) $<
%.o: %.c
$(CC) -c $(CCFLAGS) $<
default : all
all: objs pi_seq
objs: $(objects)
pi_seq:
$(LD) $(LDFLAGS) pi_seq.o second.o -o $(EXEC_SEQ)
clean:
-rm $(objects) $(EXEC_SEQ)
Event Timeline
Log In to Comment