Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F117470892
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
Fri, Jun 13, 22:40
Size
796 B
Mime Type
text/x-makefile
Expires
Sun, Jun 15, 22:40 (2 d)
Engine
blob
Format
Raw Data
Handle
26768790
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