Skip to content

Commit dcf110d

Browse files
committed
Add missing Makefile
Signed-off-by: Ralph Castain <rhc@pmix.org>
1 parent 86de81b commit dcf110d

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

test/simple/Makefile

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
PROGS = mpi_no_op mpi_barrier hello hello_nodename abort multi_abort simple_spawn \
2+
concurrent_spawn spawn_multiple mpi_spin delayed_abort loop_spawn loop_child \
3+
bad_exit pubsub hello_barrier segv accept connect hello_output hello_show_help \
4+
crisscross read_write ziatest slave reduce-hang ziaprobe ziatest bcast_loop \
5+
parallel_w8 parallel_w64 parallel_r8 parallel_r64 sio sendrecv_blaster early_abort \
6+
debugger singleton_client_server intercomm_create spawn_tree init-exit77 mpi_info \
7+
info_spawn server client ring binding badcoll attach xlib \
8+
no-disconnect nonzero interlib pinterlib add_host
9+
10+
all: $(PROGS)
11+
12+
# These guys need additional -I flags
13+
14+
hello_output: hello_output.c
15+
$(CC) $(CFLAGS) $(CFLAGS_INTERNAL) $^ -o $@
16+
17+
hello_show_help: hello_show_help.c
18+
$(CC) $(CFLAGS) $(CFLAGS_INTERNAL) $^ -o $@
19+
20+
xlib: xlib.c
21+
$(CC) $(CFLAGS) $(CFLAGS_INTERNAL) $^ -o $@ -lpmix
22+
23+
pinterlib: pinterlib.c
24+
$(CC) $(CFLAGS) $(CFLAGS_INTERNAL) $^ -o $@ -lpmix
25+
26+
CC = mpicc
27+
CFLAGS = -g --openmpi:linkall
28+
CFLAGS_INTERNAL = -I../../.. -I../../../orte/include -I../../../opal/include
29+
CXX = mpic++ --openmpi:linkall
30+
CXXFLAGS = -g
31+
FC = mpifort -openmpi:linkall
32+
FCFLAGS = -g
33+
34+
clean:
35+
rm -f $(PROGS) *~

0 commit comments

Comments
 (0)