all:introspection output.xml

Foo_rflx.cpp:Foo.h
	genreflex Foo.h
libFooRflx.so:Foo_rflx.cpp
	g++ -g -shared -fPIC -o libFooRflx.so Foo_rflx.cpp -lReflex
introspection:introspection.cpp libFooRflx.so
	g++ -g -o introspection introspection.cpp -L. -lReflex -lFooRflx -ldl
run:introspection
	./introspection

output.xml:Foo.h
	gccxml Foo.h -fxml=output.xml

.PHONY:clean

clean:
	rm -f introspection libFooRflx.so Foo_rflx.cpp output.xml
Fr Jul 30 13:54:24 CEST 2021
patent_button.gif valid-html401.png elektra.jpg fsfe-logo.png valid-css.png vim.gif anybrowser.gif