summaryrefslogtreecommitdiffstats
path: root/src/libcairobarcode/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcairobarcode/Makefile')
-rw-r--r--src/libcairobarcode/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libcairobarcode/Makefile b/src/libcairobarcode/Makefile
new file mode 100644
index 0000000..b51cf30
--- /dev/null
+++ b/src/libcairobarcode/Makefile
@@ -0,0 +1,11 @@
+include ../config.mk
+
+all: libcairobarcode.so
+
+libcairobarcode.so: ean.vala code39.vala error.vala
+ ${VALAC} -o $@ -H libcairobarcode.h --library libcairobarcode -X -fPIC -X -shared --pkg cairo $^
+
+clean:
+ rm -f libcairobarcode.h libcairobarcode.so libcairobarcode.vapi
+
+.PHONY: all clean