Skip to content

Commit

Permalink
Fix Makefile issue #104
Browse files Browse the repository at this point in the history
  • Loading branch information
crtrott authored and kyungjoo-kim committed Dec 11, 2017
1 parent 4add4bf commit 04c8226
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/generate_makefile.bash
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ echo "" >> kokkos/Makefile
echo "build:" >> kokkos/Makefile
echo -e "\t\$(MAKE) -f ${KOKKOS_PATH}/core/src/Makefile ${KOKKOS_SETTINGS}" >> kokkos/Makefile
echo "" >> kokkos/Makefile
echo "install:" >> kokkos/Makefile
echo "install-lib:" >> kokkos/Makefile
echo -e "\t\$(MAKE) -f ${KOKKOS_PATH}/core/src/Makefile ${KOKKOS_SETTINGS} install" >> kokkos/Makefile
echo "" >> kokkos/Makefile
echo "clean:" >> kokkos/Makefile
Expand All @@ -373,7 +373,7 @@ echo "" >> src/Makefile
echo "build:" >> src/Makefile
echo -e "\t\$(MAKE) -f ${KOKKOSKERNELS_PATH}/src/Makefile ${KOKKOS_SETTINGS}" >> src/Makefile
echo "" >> src/Makefile
echo "install:" >> src/Makefile
echo "install-lib:" >> src/Makefile
echo -e "\t\$(MAKE) -f ${KOKKOSKERNELS_PATH}/src/Makefile ${KOKKOS_SETTINGS} install" >> src/Makefile
echo "" >> src/Makefile
echo "clean:" >> src/Makefile
Expand Down Expand Up @@ -412,19 +412,19 @@ echo "KOKKOS_SETTINGS=${KOKKOS_SETTINGS}" > Makefile

echo "" >> Makefile
echo "kokkos-lib:" >> Makefile
echo -e "\t\$(MAKE) -C kokkos install" >> Makefile
echo -e "\t\$(MAKE) -C kokkos install-lib" >> Makefile
echo "" >> Makefile

echo "" >> Makefile
echo "kokkoskernels-lib: kokkos-lib" >> Makefile
echo -e "\t\$(MAKE) -C src build" >> Makefile
echo "" >> Makefile

echo "install: kokkoskernels-lib" >> Makefile
echo -e "\t\$(MAKE) -C src install" >> Makefile
echo "install-lib: kokkoskernels-lib" >> Makefile
echo -e "\t\$(MAKE) -C src install-lib" >> Makefile
echo "" >> Makefile

echo "build-test: install" >> Makefile
echo "build-test: install-lib" >> Makefile
echo -e "\t\$(MAKE) -C unit_test" >> Makefile
echo -e "\t\$(MAKE) -C perf_test" >> Makefile
echo "" >> Makefile
Expand Down

0 comments on commit 04c8226

Please sign in to comment.