PageRenderTime 18ms CodeModel.GetById 12ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 1XML=eigen2.gcc-xml
 2FLAGS=$(shell pkg-config --cflags eigen2)
 3HEADER=eigen2.hpp
 4HEADERS=$(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
 7wrappers: $(XML)
 8	@echo wrappers-generator --local $(XML) $(HEADERS)   
 9
10$(XML):$(HEADER) 
11	pkg-config --exists eigen2
12	@echo gccxml `pkg-config --cflags eigen2 ` $(HEADER) -fxml=$(XML)
13