From 668a9a27bc161cb170e040c38978851cb9c46298 Mon Sep 17 00:00:00 2001 From: Patrick Lavin Date: Fri, 9 Aug 2024 10:48:26 -0600 Subject: [PATCH] clean Makefile.am --- src/sst/elements/ariel/api/Makefile.am | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/sst/elements/ariel/api/Makefile.am b/src/sst/elements/ariel/api/Makefile.am index a725f10324..8b6d9a9fee 100644 --- a/src/sst/elements/ariel/api/Makefile.am +++ b/src/sst/elements/ariel/api/Makefile.am @@ -1,20 +1,21 @@ if SST_USE_ARIEL_MPI -CFLAGS+=-fopenmp $(ARIEL_MPI_CFLAGS) CC_LOCAL = $(ARIEL_MPICC) +CFLAGS_LOCAL = -fopenmp $(ARIEL_MPI_CFLAGS) else CC_LOCAL = $(CC) +CFLAGS_LOCAL = endif all-local: libarielapi.so libarielapi.a libarielapi.so: arielapi.c arielapi.h - $(CC_LOCAL) -DENABLE_ARIEL_MPI $(AM_CFLAGS) $(ARIEL_MPI_CFLAGS) -fPIC -shared -o libarielapi.so arielapi.c -fopenmp + $(CC_LOCAL) $(CFLAGS_LOCAL) -fPIC -shared -o libarielapi.so arielapi.c arielapi.o: arielapi.c arielapi.h - $(CC_LOCAL) -DENABLE_ARIEL_MPI $(AM_CFLAGS) $(ARIEL_MPI_CFLAGS) -c -o arielapi.o arielapi.c -fopenmp + $(CC_LOCAL) $(CFLAGS_LOCAL) -c -o arielapi.o arielapi.c libarielapi.a: arielapi.o ar rcs $@ $^ clean-local: - rm arielapi.o libarielapi.a libarielapi.so + rm -f arielapi.o libarielapi.a libarielapi.so