Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95840556
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
Thu, Dec 19, 20:11
Size
393 B
Mime Type
text/x-makefile
Expires
Sat, Dec 21, 20:11 (2 d)
Engine
blob
Format
Raw Data
Handle
23065959
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