From bb176e81d98d477ec489585a2dc9cec5c04201af Mon Sep 17 00:00:00 2001 From: Henry Lee Date: Fri, 4 Oct 2024 12:05:44 +1000 Subject: [PATCH] Fix the Makefile in cpp/examples (#109) --- cpp/examples/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cpp/examples/Makefile b/cpp/examples/Makefile index 1c7dfae..edab338 100644 --- a/cpp/examples/Makefile +++ b/cpp/examples/Makefile @@ -11,22 +11,22 @@ c_example: c_example.c ../libpheval.a ${CC} ${CFLAGS} -I${INCLUDE} $^ -o $@ cpp_example: cpp_example.cc ../libpheval.a - ${CXX} ${CFLAGS} ${CXXFLAG} -I${INCLUDE} $^ -o $@ + ${CXX} ${CXXFLAG} -I${INCLUDE} $^ -o $@ plo4_example: plo4_example.cc ../libphevalplo4.a - ${CXX} ${CFLAGS} ${CXXFLAG} -I${INCLUDE} $^ -o $@ + ${CXX} ${CXXFLAG} -I${INCLUDE} $^ -o $@ omaha_example: omaha_example.cc ../libphevalplo4.a - ${CXX} ${CFLAGS} ${CXXFLAG} -I${INCLUDE} $^ -o $@ + ${CXX} ${CXXFLAG} -I${INCLUDE} $^ -o $@ plo5_example: plo5_example.cc ../libphevalplo5.a - ${CXX} ${CFLAGS} ${CXXFLAG} -I${INCLUDE} $^ -o $@ + ${CXX} ${CXXFLAG} -I${INCLUDE} $^ -o $@ plo6_example: plo6_example.cc ../libphevalplo6.a - ${CXX} ${CFLAGS} ${CXXFLAG} -I${INCLUDE} $^ -o $@ + ${CXX} ${CXXFLAG} -I${INCLUDE} $^ -o $@ ../libpheval.a: - $(MAKE) -C ../; + $(MAKE) -C ../ libpheval.a ../libphevalplo4.a: $(MAKE) -C ../ libphevalplo4.a