Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F112754079
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, 19:53
Size
796 B
Mime Type
text/x-makefile
Expires
Wed, May 14, 19:53 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
26137721
Attached To
R6678 PHPC Shallow Water Project
makefile
View Options
OPTIM+=-Ofast -march=native
CXX=g++
CC=g++
LD=${CXX}
CXXFLAGS+=-Wall -Wextra -std=c++11 $(OPTIM)
LDFLAGS+=-lm
EXE=compute.exe
objects=compute.o functions.o
all: clean compute
compute : $(objects)
$(LD) -o $(EXE) $(objects) $(LDFLAGS) $(OPTIM)
compute_profiling : compute_profiling.o functions.o
$(LD) -o compute_profiling.exe compute_profiling.o functions.o $(LDFLAGS) $(OPTIM)
functions.o : functions.cpp
$(LD) -c functions.cpp -std=c++11 $(LDFLAGS) $(OPTIM)
compute.o : compute.cpp
$(LD) -c compute.cpp -std=c++11 $(LDFLAGS) $(OPTIM)
compute_profiling.o : compute_profiling.cpp
$(LD) -c compute_profiling.cpp -std=c++11 $(LDFLAGS) $(OPTIM)
function_tester : clean function_tester.o
$(LD) -o function_tester.exe function_tester.o $(LDFLAGS) $(OPTIM)
clean:
rm -f $(EXE) *.o *~
Event Timeline
Log In to Comment