summaryrefslogtreecommitdiff
path: root/bindings/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/Makefile')
-rw-r--r--bindings/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/bindings/Makefile b/bindings/Makefile
new file mode 100644
index 0000000..1a24e42
--- /dev/null
+++ b/bindings/Makefile
@@ -0,0 +1,14 @@
+# Use this Makefile to regenerate bindings
+#
+# Needs gir2pascal tool from the Lazarus project
+
+all:
+ gir2pas \
+ --input /usr/share/gir-1.0/Gtk-3.0.gir \
+ --output-directory . \
+ --overwrite-files \
+ --declare-enums-as Set \
+ --unit-prefix laz \
+
+clean:
+ rm -f *.pas *.o *.a *.d *.s *.ppu *.dcu *.rst *~ *.~*