Makefile 367 Bytes
Newer Older
Ursula Rasthofer's avatar
Ursula Rasthofer committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
CXX?=g++
CXXFLAGS?=-std=c++11 -O3 -Wall
OMPFLAG?=-fopenmp
PRINT_CONFIGS?=


all: nbody_serial_nocells nbody_omp_cells

nbody_serial_nocells: nbody_serial_nocells.cpp
	$(CXX) $(CXXFLAGS) -I. $(PRINT_CONFIGS) $^ -o $@

nbody_omp_cells: nbody_omp_cells.cpp
	$(CXX) $(CXXFLAGS) $(OMPFLAG) -I. $(PRINT_CONFIGS) $^ -o $@

clean:
	rm -f nbody_serial_nocells nbody_omp_cells