Skip to content

Commit

Permalink
Fix the Makefile in cpp/examples (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryRLee authored Oct 4, 2024
1 parent 6e66a37 commit bb176e8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cpp/examples/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bb176e8

Please sign in to comment.