Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion mpi/halo3d-26/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@

CC=mpicc
CFLAGS=-O3 -std=c99
EXTRA_CFLAGS=-D_POSIX_C_SOURCE=200809L
LIBS=

halo3d-26: halo3d-26.c
$(CC) $(CFLAGS) -o $@ $< $(LIBS)
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -o $@ $< $(LIBS)

clean:
rm halo3d-26
Expand Down
3 changes: 2 additions & 1 deletion mpi/halo3d/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@

CC=mpicc
CFLAGS=-O3 -std=c99
EXTRA_CFLAGS=-D_POSIX_C_SOURCE=200809L
LIBS=

halo3d: halo3d.c
$(CC) $(CFLAGS) -o $@ $< $(LIBS)
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -o $@ $< $(LIBS)

clean:
rm halo3d
Expand Down
3 changes: 2 additions & 1 deletion mpi/sweep3d/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@

CC=mpicc
CFLAGS=-O3 -std=c99
EXTRA_CFLAGS=-D_POSIX_C_SOURCE=200809L
LIBS=

sweep3d: sweep3d.c
$(CC) $(CFLAGS) -o $@ $< $(LIBS)
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -o $@ $< $(LIBS)

clean:
rm sweep3d
Expand Down