clean up makefile
This commit is contained in:
parent
89e2c86a0b
commit
231290bad3
@ -67,6 +67,11 @@ install: all
|
||||
for h in $(BDD_PROLOG); do $(INSTALL_DATA) $$h $(DESTDIR)$(SHAREDIR); done
|
||||
$(INSTALL_PROGRAM) $(SOBJS) $(DESTDIR)$(YAPLIBDIR)
|
||||
|
||||
clean:
|
||||
rm -f *.o *~ $(OBJS) $(SOBJS) *.BAK
|
||||
install-examples:
|
||||
|
||||
clean:
|
||||
rm -f *.o *~ $(OBJS) *.BAK
|
||||
|
||||
realclean:
|
||||
rm -f $(SOBJS) Makefile
|
||||
|
||||
|
@ -14,14 +14,14 @@ CUDA_LDFLAGS=""
|
||||
CUDA_CPPFLAGS=""
|
||||
if test "$yap_cv_cuda" = no
|
||||
then
|
||||
ENABLE_CUDA="@# "
|
||||
PKG_CUDA=""
|
||||
else
|
||||
AC_PATH_PROG(NVCC, [nvcc], [no], [$yap_cv_cuda/bin])
|
||||
if test "$yap_cv_cuda" = no
|
||||
then
|
||||
ENABLE_CUDA="@# "
|
||||
PKG_CUDA=""
|
||||
else
|
||||
ENABLE_CUDA=""
|
||||
PKG_CUDA="packages/cuda"
|
||||
case "$target_os" in
|
||||
*darwin*)
|
||||
CUDA_LDFLAGS="$LDFLAGS"
|
||||
@ -37,7 +37,7 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_SUBST(ENABLE_CUDA)
|
||||
AC_SUBST(PKG_CUDA)
|
||||
AC_SUBST(NVCC)
|
||||
AC_SUBST(CUDA_SHLIB_LD)
|
||||
AC_SUBST(CUDA_CPPFLAGS)
|
||||
@ -45,3 +45,5 @@ AC_SUBST(CUDA_LDFLAGS)
|
||||
|
||||
AC_CONFIG_FILES([packages/cuda/Makefile])
|
||||
|
||||
mkdir -p packages/cuda
|
||||
|
||||
|
Reference in New Issue
Block a user