diff --git a/examples/Makefile b/examples/Makefile index 3490c11bba..601a7d61af 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -155,7 +155,7 @@ ring_oshmemfh: ring_oshmemfh.f90 $(SHMEMFC) $(FCFLAGS) $? -o $@ oshmem_shmalloc: oshmem_shmalloc.c - $(SHMEMFC) $(FCFLAGS) $? -o $@ + $(SHMEMCC) $(CCFLAGS) $? -o $@ oshmem_circular_shift: oshmem_circular_shift.c $(SHMEMCC) $(CFLAGS) $? -o $@