/src/wrappers/eigen/library/externals/Makefile

http://github.com/tybor/Liberty · Makefile · 13 lines · 9 code · 3 blank · 1 comment · 0 complexity · 046aa04887c1ea147cb53a3b9e368fb8 MD5 · raw file

  1. XML=eigen2.gcc-xml
  2. FLAGS=$(shell pkg-config --cflags eigen2)
  3. HEADER=eigen2.hpp
  4. HEADERS=$(strip $(subst -I,,$(FLAGS)))/Eigen/*
  5. # Processed headers will be all the files you find in the path obtained removing the "-I", leading and trailing spaces from flags, with should be like " -I/usr/include/eigen2 "
  6. wrappers: $(XML)
  7. @echo wrappers-generator --local $(XML) $(HEADERS)
  8. $(XML):$(HEADER)
  9. pkg-config --exists eigen2
  10. @echo gccxml `pkg-config --cflags eigen2 ` $(HEADER) -fxml=$(XML)